Package org.bukkit.block.data.type
Interface Comparator
- All Superinterfaces:
BlockData
,Cloneable
,Directional
,Powerable
'mode' indicates what mode this comparator will operate in.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The mode in which a comparator will operate in. -
Method Summary
Modifier and TypeMethodDescriptiongetMode()
Gets the value of the 'mode' property.void
setMode
(@NotNull Comparator.Mode mode) Sets the value of the 'mode' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getLightEmission, 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
-
getMode
Gets the value of the 'mode' property.- Returns:
- the 'mode' value
-
setMode
Sets the value of the 'mode' property.- Parameters:
mode
- the new 'mode' value
-