Changes to Demons

This commit is contained in:
WayofTime committed 2015-07-18 10:05:23 -04:00
1 parent d6a57ca644
commit ebad8a2e29
2 files changed
+21 -26

No files matched your search

@@ -109,7 +109,6 @@ public class EntityBoulderFist extends EntityDemon
{
super.entityInit();
this.dataWatcher.addObject(18, this.getHealth());
this.dataWatcher.addObject(19, 0);
}
/**
@@ -126,7 +125,7 @@ public class EntityBoulderFist extends EntityDemon
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
{
super.writeEntityToNBT(par1NBTTagCompound);
par1NBTTagCompound.setByte("CollarColor", (byte) this.getCollarColor());
}
/**
@@ -396,17 +395,6 @@ public class EntityBoulderFist extends EntityDemon
return null;
}
public void func_70918_i(boolean par1)
{
if (par1)
{
this.dataWatcher.updateObject(19, 1);
} else
{
this.dataWatcher.updateObject(19, 0);
}
}
/**
* Returns true if the mob is currently able to mate with the specified mob.
*/
@@ -415,11 +403,6 @@ public class EntityBoulderFist extends EntityDemon
return false;
}
public boolean func_70922_bv()
{
return this.dataWatcher.getWatchableObjectByte(19) == 1;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/