mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 03:17:36 +01:00
Implementation of interface to modify the pumpkin head "derp mode" of a snowman
This commit is contained in:
parent
88157110ad
commit
d8637dfb7e
@ -10,6 +10,16 @@ public class CraftSnowman extends CraftGolem implements Snowman {
|
||||
super(server, entity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDerp() {
|
||||
return getHandle().o(); // PAIL: Rename
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDerp(boolean derpMode) {
|
||||
getHandle().a(derpMode); // PAIL: Rename
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntitySnowman getHandle() {
|
||||
return (EntitySnowman) entity;
|
||||
|
Loading…
Reference in New Issue
Block a user