Package org.bukkit.block.data
Interface AnaloguePowerable
- All Known Subinterfaces:
- CalibratedSculkSensor,- DaylightDetector,- RedstoneWire,- SculkSensor
'power' represents the redstone power level currently being emitted or
 transmitted via this block.
 
May not be over 9000 or
May not be over 9000 or
getMaximumPower() (usually 15).- 
Method SummaryMethods inherited from interface org.bukkit.block.data.BlockDataclone, createBlockState, getAsString, getAsString, getDestroySpeed, getDestroySpeed, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
- 
Method Details- 
getPowerint getPower()Gets the value of the 'power' property.- Returns:
- the 'power' value
 
- 
setPowervoid setPower(int power) Sets the value of the 'power' property.- Parameters:
- power- the new 'power' value
 
- 
getMaximumPowerint getMaximumPower()Gets the maximum allowed value of the 'power' property.- Returns:
- the maximum 'power' value
 
 
-