public interface MultipleFacing extends BlockData
getAllowedFaces() to get all possible faces for this block.| Modifier and Type | Method and 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. 
 | 
boolean | 
hasFace(BlockFace face)
Checks if this block has the specified face enabled. 
 | 
void | 
setFace(BlockFace face,
       boolean has)
Set whether this block has the specified face enabled. 
 | 
clone, getAsString, getAsString, getMaterial, matches, mergeboolean hasFace(@NotNull
                BlockFace face)
face - to checkvoid setFace(@Nullable
             BlockFace face,
             boolean has)
face - to sethas - the face@NotNull Set<BlockFace> getFaces()
Copyright © 2022. All rights reserved.