mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 09:26:08 +03:00
20 lines
929 B
Diff
20 lines
929 B
Diff
--- ../src-base/minecraft/net/minecraft/entity/monster/EntityMagmaCube.java
|
|
+++ ../src-work/minecraft/net/minecraft/entity/monster/EntityMagmaCube.java
|
|
@@ -44,7 +44,7 @@
|
|
return this.world.checkNoEntityCollision(this.getEntityBoundingBox(), this) && this.world.getCollisionBoxes(this, this.getEntityBoundingBox()).isEmpty() && !this.world.containsAnyLiquid(this.getEntityBoundingBox());
|
|
}
|
|
|
|
- protected void setSlimeSize(int size, boolean resetHealth)
|
|
+ public void setSlimeSize(int size, boolean resetHealth)
|
|
{
|
|
super.setSlimeSize(size, resetHealth);
|
|
this.getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue((double)(size * 3));
|
|
@@ -96,6 +96,7 @@
|
|
{
|
|
this.motionY = (double)(0.42F + (float)this.getSlimeSize() * 0.1F);
|
|
this.isAirBorne = true;
|
|
+ net.minecraftforge.common.ForgeHooks.onLivingJump(this);
|
|
}
|
|
|
|
protected void handleJumpLava()
|