Package org.bukkit.block.data.type
Interface Door
'hinge' indicates which hinge this door is attached to and will rotate around
when opened.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.block.data.Bisected
Bisected.Half
-
Method Summary
Modifier and TypeMethodDescriptiongetHinge()
Gets the value of the 'hinge' property.void
setHinge
(@NotNull Door.Hinge hinge) Sets the value of the 'hinge' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
Methods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
Methods inherited from interface org.bukkit.block.data.Powerable
isPowered, setPowered
-
Method Details
-
getHinge
Gets the value of the 'hinge' property.- Returns:
- the 'hinge' value
-
setHinge
Sets the value of the 'hinge' property.- Parameters:
hinge
- the new 'hinge' value
-