Package org.bukkit.block.data
Interface MultipleFacing
- 
 public interface MultipleFacing extends BlockData This class encompasses the 'north', 'east', 'south', 'west', 'up', 'down' boolean flags which are used to set which faces of the block textures are displayed on.
 Some blocks may not be able to have faces on all directions, usegetAllowedFaces()to get all possible faces for this block.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<BlockFace>getAllowedFaces()Gets all of this faces which may be set on this block.Set<BlockFace>getFaces()Get all of the faces which are enabled on this block.booleanhasFace(BlockFace face)Checks if this block has the specified face enabled.voidsetFace(BlockFace face, boolean has)Set whether this block has the specified face enabled.- 
Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getMaterial, matches, merge
 
- 
 
- 
- 
- 
Method Detail- 
hasFaceboolean hasFace(@NotNull BlockFace face)Checks if this block has the specified face enabled.- Parameters:
- face- to check
- Returns:
- if face is enabled
 
 - 
setFacevoid setFace(@Nullable BlockFace face, boolean has)Set whether this block has the specified face enabled.- Parameters:
- face- to set
- has- the face
 
 - 
getFaces@NotNull Set<BlockFace> getFaces() Get all of the faces which are enabled on this block.- Returns:
- all faces enabled
 
 
- 
 
-