Package codechicken.multipart.api
Interface RedstoneConnectorBlock
public interface RedstoneConnectorBlock
Block version of
RedstoneConnector
Due to the inadequate IBlockExtension.canConnectRedstone(net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.BlockGetter, net.minecraft.core.BlockPos, net.minecraft.core.Direction) not handling the bottom side (nor the top particularly well)-
Method Summary
Modifier and TypeMethodDescriptionintgetConnectionMask(net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos pos, int side) intweakPowerLevel(net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos pos, int side, int mask)
-
Method Details
-
getConnectionMask
int getConnectionMask(net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos pos, int side) -
weakPowerLevel
int weakPowerLevel(net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos pos, int side, int mask)
-