Class CableBlockSupport
java.lang.Object
com.refinedmods.refinedstorage.common.support.CableBlockSupport
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.world.level.block.state.properties.BooleanProperty
static final net.minecraft.world.level.block.state.properties.BooleanProperty
static final net.minecraft.world.level.block.state.properties.BooleanProperty
static final net.minecraft.world.level.block.state.properties.BooleanProperty
static final net.minecraft.world.level.block.state.properties.BooleanProperty
static final net.minecraft.world.level.block.state.properties.BooleanProperty
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendBlockStateProperties
(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) static net.minecraft.world.level.block.state.BlockState
getDefaultState
(net.minecraft.world.level.block.state.BlockState state) static net.minecraft.world.phys.shapes.VoxelShape
getShape
(CableShapeCacheKey cacheKey) static net.minecraft.world.level.block.state.BlockState
getState
(net.minecraft.world.level.block.state.BlockState currentState, net.minecraft.world.level.LevelAccessor levelAccessor, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction blacklistedDirection)
-
Field Details
-
NORTH
public static final net.minecraft.world.level.block.state.properties.BooleanProperty NORTH -
EAST
public static final net.minecraft.world.level.block.state.properties.BooleanProperty EAST -
SOUTH
public static final net.minecraft.world.level.block.state.properties.BooleanProperty SOUTH -
WEST
public static final net.minecraft.world.level.block.state.properties.BooleanProperty WEST -
UP
public static final net.minecraft.world.level.block.state.properties.BooleanProperty UP -
DOWN
public static final net.minecraft.world.level.block.state.properties.BooleanProperty DOWN
-
-
Method Details
-
getDefaultState
public static net.minecraft.world.level.block.state.BlockState getDefaultState(net.minecraft.world.level.block.state.BlockState state) -
appendBlockStateProperties
public static void appendBlockStateProperties(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) -
getShape
-
getState
public static net.minecraft.world.level.block.state.BlockState getState(net.minecraft.world.level.block.state.BlockState currentState, net.minecraft.world.level.LevelAccessor levelAccessor, net.minecraft.core.BlockPos pos, @Nullable net.minecraft.core.Direction blacklistedDirection)
-