public class BeltHelper
extends java.lang.Object
| Constructor and Description |
|---|
BeltHelper() |
| Modifier and Type | Method and Description |
|---|---|
static BeltTileEntity |
getBeltAtSegment(BeltTileEntity controller,
int segment) |
static BeltTileEntity |
getBeltForOffset(BeltTileEntity controller,
float offset) |
static net.minecraft.util.math.vector.Vector3d |
getBeltVector(net.minecraft.block.BlockState state) |
static BeltTileEntity |
getControllerTE(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos) |
static net.minecraft.util.math.BlockPos |
getPositionForOffset(BeltTileEntity controller,
int offset) |
static BeltTileEntity |
getSegmentTE(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos) |
static net.minecraft.util.math.vector.Vector3d |
getVectorForOffset(BeltTileEntity controller,
float offset) |
static boolean |
isItemUpright(net.minecraft.item.ItemStack stack) |
public static boolean isItemUpright(net.minecraft.item.ItemStack stack)
public static BeltTileEntity getSegmentTE(net.minecraft.world.IWorld world, net.minecraft.util.math.BlockPos pos)
public static BeltTileEntity getControllerTE(net.minecraft.world.IWorld world, net.minecraft.util.math.BlockPos pos)
public static BeltTileEntity getBeltForOffset(BeltTileEntity controller, float offset)
public static BeltTileEntity getBeltAtSegment(BeltTileEntity controller, int segment)
public static net.minecraft.util.math.BlockPos getPositionForOffset(BeltTileEntity controller, int offset)
public static net.minecraft.util.math.vector.Vector3d getVectorForOffset(BeltTileEntity controller, float offset)
public static net.minecraft.util.math.vector.Vector3d getBeltVector(net.minecraft.block.BlockState state)