Interface Door
'hinge' indicates which hinge this door is attached to and will rotate around
when opened.
- Since:
- 1.13
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface 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 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 Directional
getFaces, getFacing, setFacingMethods inherited from interface Powerable
isPowered, setPowered
-
Method Details
-
getHinge
Gets the value of the 'hinge' property.- Returns:
- the 'hinge' value
- Since:
- 1.13
-
setHinge
Sets the value of the 'hinge' property.- Parameters:
hinge- the new 'hinge' value- Since:
- 1.13
-