BlockData, java.lang.Cloneablepublic interface MultipleFacing extends BlockData
getAllowedFaces() to get all possible faces for this block.| Modifier and Type | Method | Description | 
|---|---|---|
| java.util.Set<BlockFace> | getAllowedFaces() | Gets all of this faces which may be set on this block. | 
| java.util.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, getMaterial, matches, mergeboolean hasFace(BlockFace face)
face - to checkvoid setFace(BlockFace face, boolean has)
face - to sethas - the facejava.util.Set<BlockFace> getFaces()
java.util.Set<BlockFace> getAllowedFaces()
Copyright © 2018. All rights reserved.