public class BeltTunnelInteractionHandler
extends java.lang.Object
| Constructor and Description |
|---|
BeltTunnelInteractionHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
flapTunnel(BeltInventory beltInventory,
int offset,
net.minecraft.util.Direction side,
boolean inward) |
static boolean |
flapTunnelsAndCheckIfStuck(BeltInventory beltInventory,
TransportedItemStack current,
float nextOffset) |
static BeltTunnelTileEntity |
getTunnelOnPosition(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
protected static BeltTunnelTileEntity |
getTunnelOnSegment(BeltInventory beltInventory,
int offset) |
static boolean |
stuckAtTunnel(BeltInventory beltInventory,
int offset,
net.minecraft.item.ItemStack stack,
net.minecraft.util.Direction movementDirection) |
public static boolean flapTunnelsAndCheckIfStuck(BeltInventory beltInventory, TransportedItemStack current, float nextOffset)
public static boolean stuckAtTunnel(BeltInventory beltInventory, int offset, net.minecraft.item.ItemStack stack, net.minecraft.util.Direction movementDirection)
public static void flapTunnel(BeltInventory beltInventory, int offset, net.minecraft.util.Direction side, boolean inward)
protected static BeltTunnelTileEntity getTunnelOnSegment(BeltInventory beltInventory, int offset)
public static BeltTunnelTileEntity getTunnelOnPosition(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)