Implement Slime.set/getSize()

This commit is contained in:
Celtic Minstrel 2011-03-18 17:13:54 -04:00 committed by Erik Broes
parent cd50683f78
commit 9f30c9f8f4

View file

@ -16,4 +16,15 @@ public class CraftSlime extends CraftLivingEntity implements Slime {
return "CraftSlime";
}
public EntitySlime getHandle() {
return (EntitySlime) super.getHandle();
}
public int getSize() {
return getHandle().c;
}
public void setSize(int size) {
getHandle().e(size);
}
}