Class MultipartProperties
java.lang.Object
alexiil.mc.lib.multipart.api.property.MultipartProperties
public final class MultipartProperties extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultipartProperties.RedstonePowerProperty
static class
MultipartProperties.StrongRedstonePowerProperty
static class
MultipartProperties.WeakRedstonePowerProperty
-
Field Summary
Fields Modifier and Type Field Description static MultipartProperty<Boolean>
CAN_BE_WATERLOGGED
The return value fromAbstractBlock.emitsRedstonePower(BlockState)
static MultipartProperty<Boolean>
CAN_EMIT_REDSTONE
The return value fromAbstractBlock.emitsRedstonePower(BlockState)
static MultipartProperty<Integer>
LIGHT_VALUE
The amount of light that a multiblock is emitting. -
Method Summary
Modifier and Type Method Description static MultipartProperties.StrongRedstonePowerProperty
getStrongRedstonePower(Direction side)
static MultipartProperties.WeakRedstonePowerProperty
getWeakRedstonePower(Direction side)
-
Field Details
-
LIGHT_VALUE
The amount of light that a multiblock is emitting. Range 0-15 (inclusive) -
CAN_EMIT_REDSTONE
The return value fromAbstractBlock.emitsRedstonePower(BlockState)
-
CAN_BE_WATERLOGGED
The return value fromAbstractBlock.emitsRedstonePower(BlockState)
-
-
Method Details
-
getStrongRedstonePower
public static MultipartProperties.StrongRedstonePowerProperty getStrongRedstonePower(Direction side) -
getWeakRedstonePower
-