mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-09 06:50:32 +08: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);
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user