- All Known Subinterfaces:
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 SummaryModifier and TypeMethodDescription
()Gets the value of the 'powered' property.
(boolean powered)Sets the value of the 'powered' property.
isPoweredboolean isPowered()Gets the value of the 'powered' property.
- the 'powered' value
setPoweredvoid setPowered(boolean powered)Sets the value of the 'powered' property.
powered- the new 'powered' value