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

Dieser Commit ist enthalten in:
minoneer 2016-05-18 00:42:14 +02:00 committet von md_5
Ursprung 88157110ad
Commit d8637dfb7e

Datei anzeigen

@ -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;