mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 01:37:35 +01:00
Add interface to modify the pumpkin head "derp mode" of a snowman
By: minoneer <minoneer@gmail.com>
This commit is contained in:
parent
b5accbebcd
commit
62b75235dd
@ -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…
Reference in New Issue
Block a user