public interface ImmutablePoweredData extends ImmutableDataManipulator<ImmutablePoweredData,PoweredData>
ImmutableDataManipulator
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 |
---|---|
ImmutableValue<Boolean> |
powered()
Gets the
ImmutableValue for the "powered" state. |
asMutable, copy, with, with
getContentVersion, toContainer
ImmutableValue<Boolean> powered()
ImmutableValue
for the "powered" state.