mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
Add interface to modify the pumpkin head "derp mode" of a snowman
This commit is contained in:
parent
e217da5747
commit
b276e93f56
1 changed files with 16 additions and 0 deletions
|
@ -5,4 +5,20 @@ package org.bukkit.entity;
|
||||||
*/
|
*/
|
||||||
public interface Snowman extends Golem {
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue