summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntitySquid.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/EntitySquid.java')
-rw-r--r--src/main/java/net/minecraft/server/EntitySquid.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/main/java/net/minecraft/server/EntitySquid.java b/src/main/java/net/minecraft/server/EntitySquid.java
index 493b3d8b..6e6d612b 100644
--- a/src/main/java/net/minecraft/server/EntitySquid.java
+++ b/src/main/java/net/minecraft/server/EntitySquid.java
@@ -25,29 +25,29 @@ public class EntitySquid extends EntityWaterAnimal {
this.by = 1.0F / (this.random.nextFloat() + 1.0F) * 0.2F;
}
- protected void aC() {
- super.aC();
- this.getAttributeInstance(GenericAttributes.a).setValue(10.0D);
+ protected void aD() {
+ super.aD();
+ this.getAttributeInstance(GenericAttributes.maxHealth).setValue(10.0D);
}
protected String t() {
return null;
}
- protected String aS() {
+ protected String aT() {
return null;
}
- protected String aT() {
+ protected String aU() {
return null;
}
- protected float be() {
+ protected float bf() {
return 0.4F;
}
protected Item getLoot() {
- return Item.d(0);
+ return Item.getById(0);
}
protected boolean g_() {
@@ -63,7 +63,7 @@ public class EntitySquid extends EntityWaterAnimal {
}
/* CraftBukkit start - Delegate to Entity to use existing inWater value
- public boolean L() {
+ public boolean M() {
return this.world.a(this.boundingBox.grow(0.0D, -0.6000000238418579D, 0.0D), Material.WATER, (Entity) this);
}
// CraftBukkit end */
@@ -82,7 +82,7 @@ public class EntitySquid extends EntityWaterAnimal {
}
}
- if (this.L()) {
+ if (this.M()) {
float f;
if (this.bt < 3.1415927F) {
@@ -130,7 +130,7 @@ public class EntitySquid extends EntityWaterAnimal {
this.move(this.motX, this.motY, this.motZ);
}
- protected void bp() {
+ protected void bq() {
++this.aU;
if (this.aU > 100) {
this.bA = this.bB = this.bC = 0.0F;