Implement EnderCrystal#isShowingBottom and EnderCrystal#setShowingBottom(boolean)

This commit is contained in:
Matthew 2016-03-16 19:53:18 -04:00 committed by md_5
parent 8cd69933c9
commit 6efa87306b

View File

@ -10,6 +10,16 @@ public class CraftEnderCrystal extends CraftEntity implements EnderCrystal {
super(server, entity);
}
@Override
public boolean isShowingBottom() {
return getHandle().k(); // PAIL: Rename isShowingBottom
}
@Override
public void setShowingBottom(boolean showing) {
getHandle().a(showing); // PAIL: Rename setShowingBottom
}
@Override
public EntityEnderCrystal getHandle() {
return (EntityEnderCrystal) entity;