Package org.bukkit.block.data
Interface Powerable
-
- All Known Subinterfaces:
Comparator
,Door
,Gate
,Lectern
,NoteBlock
,Observer
,RedstoneRail
,Repeater
,Switch
,TrapDoor
,Tripwire
,TripwireHook
public interface Powerable extends BlockData
'powered' indicates whether this block is in the powered state or not, i.e. receiving a redstone current of power > 0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isPowered()
Gets the value of the 'powered' property.void
setPowered(boolean powered)
Sets the value of the 'powered' property.-
Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, matches, merge
-
-