Interface ConnectionSink
@API(status=STABLE,
since="2.0.0-milestone.3.2")
public interface ConnectionSink
-
Method Summary
Modifier and TypeMethodDescriptionvoidtryConnect(net.minecraft.core.GlobalPos pos, Class<? extends net.minecraft.world.level.block.Block> allowedBlockType) default voidtryConnectInSameDimension(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction incomingDirection) voidtryConnectInSameDimension(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction incomingDirection, Class<? extends net.minecraft.world.level.block.Block> allowedBlockType)
-
Method Details
-
tryConnect
void tryConnect(net.minecraft.core.GlobalPos pos, @Nullable Class<? extends net.minecraft.world.level.block.Block> allowedBlockType) -
tryConnectInSameDimension
default void tryConnectInSameDimension(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction incomingDirection) -
tryConnectInSameDimension
void tryConnectInSameDimension(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction incomingDirection, @Nullable Class<? extends net.minecraft.world.level.block.Block> allowedBlockType)
-