Package org.bukkit.block
Interface Lidded
-
- All Known Subinterfaces:
Barrel,Chest,ShulkerBox
public interface Lidded
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Sets the block's animated state to closed even if a player is currently viewing this block.voidopen()Sets the block's animated state to open and prevents it from being closed untilclose()is called.
-
-
-
Method Detail
-
open
void open()
Sets the block's animated state to open and prevents it from being closed untilclose()is called.
-
close
void close()
Sets the block's animated state to closed even if a player is currently viewing this block.
-
-