mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
SPIGOT-6388: Add API to get and set the state of the "Shulker" entity
This commit is contained in:
parent
14883d6b17
commit
6d0965a550
1 changed files with 18 additions and 1 deletions
|
@ -2,4 +2,21 @@ package org.bukkit.entity;
|
|||
|
||||
import org.bukkit.material.Colorable;
|
||||
|
||||
public interface Shulker extends Golem, Colorable {}
|
||||
public interface Shulker extends Golem, Colorable {
|
||||
|
||||
/**
|
||||
* Gets the peek state of the shulker between 0.0 and 1.0.
|
||||
*
|
||||
* @return the peek state of the shulker between 0.0 and 1.0
|
||||
*/
|
||||
public float getPeek();
|
||||
|
||||
/**
|
||||
* Sets the peek state of the shulker, should be in between 0.0 and 1.0.
|
||||
*
|
||||
* @param value peek state of the shulker, should be in between 0.0 and 1.0
|
||||
* @throws IllegalArgumentException thrown if the value exceeds the valid
|
||||
* range in between of 0.0 and 1.0
|
||||
*/
|
||||
public void setPeek(float value);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue