Update to Minecraft 1.19

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2022-06-08 02:00:00 +10:00
parent 9bfa9ca85b
commit ec575f5252
88 changed files with 1339 additions and 375 deletions
@@ -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);
}