public interface RedstonePoweredData extends DataManipulator<RedstonePoweredData,ImmutableRedstonePoweredData>
DataManipulator
for the current output of "redstone power". The
mechanics of this and a BlockState
is that the BlockState
must support defining the current "redstone power output" such that blocks
nearby may become affected. Usually applicable to
BlockTypes.REDSTONE_WIRE
,
BlockTypes.LIGHT_WEIGHTED_PRESSURE_PLATE
,
BlockTypes.HEAVY_WEIGHTED_PRESSURE_PLATE
, and
BlockTypes.DAYLIGHT_DETECTOR
, etc.Modifier and Type | Method and Description |
---|---|
MutableBoundedValue<Integer> |
power()
Gets the
MutableBoundedValue for the output of "redstone
power". |
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
MutableBoundedValue<Integer> power()
MutableBoundedValue
for the output of "redstone
power".Keys.POWER