Implementation of interface to modify the pumpkin head "derp mode" of a snowman

This commit is contained in:
minoneer 2016-05-18 00:42:14 +02:00 committed by md_5
parent 88157110ad
commit d8637dfb7e

View File

@ -10,6 +10,16 @@ public class CraftSnowman extends CraftGolem implements Snowman {
super(server, entity); super(server, entity);
} }
@Override
public boolean isDerp() {
return getHandle().o(); // PAIL: Rename
}
@Override
public void setDerp(boolean derpMode) {
getHandle().a(derpMode); // PAIL: Rename
}
@Override @Override
public EntitySnowman getHandle() { public EntitySnowman getHandle() {
return (EntitySnowman) entity; return (EntitySnowman) entity;