mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
SPIGOT-6373: Add getAttachedFace and setAttachedFace to the Shulker API
This commit is contained in:
parent
80ece5de93
commit
1c0c52ae4f
1 changed files with 17 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.material.Colorable;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface Shulker extends Golem, Colorable {
|
||||
|
||||
|
@ -19,4 +21,19 @@ public interface Shulker extends Golem, Colorable {
|
|||
* range in between of 0.0 and 1.0
|
||||
*/
|
||||
public void setPeek(float value);
|
||||
|
||||
/**
|
||||
* Gets the face to which the shulker is attached.
|
||||
*
|
||||
* @return the face to which the shulker is attached
|
||||
*/
|
||||
@NotNull
|
||||
public BlockFace getAttachedFace();
|
||||
|
||||
/**
|
||||
* Sets the face to which the shulker is attached.
|
||||
*
|
||||
* @param face the face to attach the shulker to
|
||||
*/
|
||||
public void setAttachedFace(@NotNull BlockFace face);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue