Package org.bukkit.block.data.type
Interface DaylightDetector
- All Superinterfaces:
AnaloguePowerable
,BlockData
,Cloneable
'inverted' denotes whether this daylight detector is in the inverted mode,
i.e. activates in the absence of light rather than presence."
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the value of the 'inverted' property.void
setInverted
(boolean inverted) Sets the value of the 'inverted' property.Methods inherited from interface org.bukkit.block.data.AnaloguePowerable
getMaximumPower, getPower, setPower
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
-
Method Details
-
isInverted
boolean isInverted()Gets the value of the 'inverted' property.- Returns:
- the 'inverted' value
-
setInverted
void setInverted(boolean inverted) Sets the value of the 'inverted' property.- Parameters:
inverted
- the new 'inverted' value
-