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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe mode in which a comparator will operate in. -
Method Summary
Modifier and TypeMethodDescriptiongetMode()Gets the value of the 'mode' property.voidsetMode(@NotNull Comparator.Mode mode) Sets the value of the 'mode' 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
-
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
-