geforkt von Mirrors/Paper
Add interface to modify the pumpkin head "derp mode" of a snowman
By: minoneer <minoneer@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
b5accbebcd
Commit
62b75235dd
@ -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);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren