Class MultipartProperties
java.lang.Object
alexiil.mc.lib.multipart.api.property.MultipartProperties
public final class MultipartProperties
extends java.lang.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<java.lang.Boolean>
CAN_BE_WATERLOGGED
The return value fromAbstractBlock.emitsRedstonePower(BlockState)
static MultipartProperty<java.lang.Boolean>
CAN_EMIT_REDSTONE
The return value fromAbstractBlock.emitsRedstonePower(BlockState)
static MultipartProperty<java.lang.Integer>
LIGHT_VALUE
The amount of light that a multiblock is emitting. -
Method Summary
Modifier and Type Method Description static MultipartProperties.StrongRedstonePowerProperty
getStrongRedstonePower(net.minecraft.util.math.Direction side)
static MultipartProperties.WeakRedstonePowerProperty
getWeakRedstonePower(net.minecraft.util.math.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(net.minecraft.util.math.Direction side) -
getWeakRedstonePower
public static MultipartProperties.WeakRedstonePowerProperty getWeakRedstonePower(net.minecraft.util.math.Direction side)
-