Class BeltTunnelInteractionHandler
java.lang.Object
com.simibubi.create.content.contraptions.relays.belt.transport.BeltTunnelInteractionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidflapTunnel(BeltInventory beltInventory, int offset, net.minecraft.core.Direction side, boolean inward) static booleanflapTunnelsAndCheckIfStuck(BeltInventory beltInventory, TransportedItemStack current, float nextOffset) static BeltTunnelTileEntitygetTunnelOnPosition(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) protected static BeltTunnelTileEntitygetTunnelOnSegment(BeltInventory beltInventory, int offset) static booleanstuckAtTunnel(BeltInventory beltInventory, int offset, net.minecraft.world.item.ItemStack stack, net.minecraft.core.Direction movementDirection)
-
Constructor Details
-
BeltTunnelInteractionHandler
public BeltTunnelInteractionHandler()
-
-
Method Details
-
flapTunnelsAndCheckIfStuck
public static boolean flapTunnelsAndCheckIfStuck(BeltInventory beltInventory, TransportedItemStack current, float nextOffset) -
stuckAtTunnel
public static boolean stuckAtTunnel(BeltInventory beltInventory, int offset, net.minecraft.world.item.ItemStack stack, net.minecraft.core.Direction movementDirection) -
flapTunnel
public static void flapTunnel(BeltInventory beltInventory, int offset, net.minecraft.core.Direction side, boolean inward) -
getTunnelOnSegment
-
getTunnelOnPosition
public static BeltTunnelTileEntity getTunnelOnPosition(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos)
-