接口 DaylightDetector
- 所有超级接口:
AnaloguePowerable
,BlockData
,Cloneable
'inverted' 值表示阳光探测器是否被调整了反转模式,
即在光照不足时再激活.
-
方法概要
从接口继承的方法 org.bukkit.block.data.AnaloguePowerable
getMaximumPower, getPower, setPower
从接口继承的方法 org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
方法详细资料
-
isInverted
boolean isInverted()获取 'inverted' 属性的值.原文: Gets the value of the 'inverted' property.
- 返回:
- 属性 'inverted' 的值
-
setInverted
void setInverted(boolean inverted) 设置 'inverted' 属性的值.原文: Sets the value of the 'inverted' property.
- 参数:
inverted
- 新的 'inverted' 属性值
-