mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 03:25:15 +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);
|
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