diff --git a/paper-api/src/main/java/org/bukkit/entity/Snowman.java b/paper-api/src/main/java/org/bukkit/entity/Snowman.java index c8070ff26d..818efe2a4d 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Snowman.java +++ b/paper-api/src/main/java/org/bukkit/entity/Snowman.java @@ -5,4 +5,20 @@ package org.bukkit.entity; */ public interface Snowman extends Golem { + /** + * Gets whether this snowman is in "derp mode", meaning it is not wearing a + * pumpkin. + * + * @return True if the snowman is bald, false if it is wearing a pumpkin + */ + boolean isDerp(); + + /** + * Sets whether this snowman is in "derp mode", meaning it is not wearing a + * pumpkin. NOTE: This value is not persisted to disk and will therefore + * reset when the chunk is reloaded. + * + * @param derpMode True to remove the pumpkin, false to add a pumpkin + */ + void setDerp(boolean derpMode); }