@API(status=STABLE, since="2.0.0-milestone.3.2") public interface ConnectionSink
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    tryConnect(net.minecraft.core.GlobalPos pos)
     
    default void
    tryConnectInSameDimension(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction incomingDirection)
     
    void
    tryConnectInSameDimension(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)
    • 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)