public interface PoweredData extends DataManipulator<PoweredData,ImmutablePoweredData>
DataManipulator
for the "powered" state. For redstone based
mechanics, a "powered on" state will mean the object is currently "powered"
and may emit a redstone signal. Usually applicable to
BlockTypes.LEVER
, BlockTypes.STONE_BUTTON
, etc.Modifier and Type | Method and Description |
---|---|
Value<Boolean> |
powered()
Gets the
Value for the "powered" state. |
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
Value<Boolean> powered()
Value
for the "powered" state.Keys.POWERED