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 ClassesNested classes/interfaces inherited from interface org.bukkit.block.data.Bisected
Bisected.Half -
Method Summary
Modifier and TypeMethodDescriptiongetHinge()Gets the value of the 'hinge' property.voidsetHinge(@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, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacingMethods 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
-