Package org.bukkit.block.data.type
Interface Chest
-
- All Superinterfaces:
BlockData
,Cloneable
,Directional
,Waterlogged
public interface Chest extends Directional, Waterlogged
'type' represents which part of a double chest this block is, or if it is a single chest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Chest.Type
Type of this chest block.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Chest.Type
getType()
Gets the value of the 'type' property.void
setType(Chest.Type type)
Sets the value of the 'type' property.-
Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, matches, merge
-
Methods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
-
Methods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
-
-
-
Method Detail
-
getType
@NotNull Chest.Type getType()
Gets the value of the 'type' property.- Returns:
- the 'type' value
-
setType
void setType(@NotNull Chest.Type type)
Sets the value of the 'type' property.- Parameters:
type
- the new 'type' value
-
-