Implement Slime.set/getSize()

This commit is contained in:
Celtic Minstrel authored and Erik Broes committed 2011-03-26 17:53:26 +01:00
1 parent cd50683f78
commit 9f30c9f8f4
1 file changed
+11
@@ -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);
}
}