@@ -0,0 +1,27 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
/**
|
||||
* Represents a captured state of a sculk shrieker.
|
||||
*/
|
||||
public interface SculkShrieker extends TileState {
|
||||
|
||||
/**
|
||||
* Gets the most recent warning level of this block.
|
||||
*
|
||||
* When the warning level reaches 4, the shrieker will attempt to spawn a
|
||||
* Warden.
|
||||
*
|
||||
* @return current warning level
|
||||
*/
|
||||
int getWarningLevel();
|
||||
|
||||
/**
|
||||
* Sets the most recent warning level of this block.
|
||||
*
|
||||
* When the warning level reaches 4, the shrieker will attempt to spawn a
|
||||
* Warden.
|
||||
*
|
||||
* @param level new warning level
|
||||
*/
|
||||
void setWarningLevel(int level);
|
||||
}
|
||||
Reference in New Issue
Block a user