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 TypeMethodDescriptionbooleanGets the value of the 'inverted' property.voidsetInverted(boolean inverted) Sets the value of the 'inverted' property.Methods inherited from interface org.bukkit.block.data.AnaloguePowerable
getMaximumPower, getPower, setPowerMethods 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, 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
-