java.lang.Object
com.simibubi.create.content.contraptions.relays.belt.BeltHelper

public class BeltHelper extends Object
  • Constructor Details

    • BeltHelper

      public BeltHelper()
  • Method Details

    • isItemUpright

      public static boolean isItemUpright(net.minecraft.world.item.ItemStack stack)
    • getSegmentTE

      public static BeltTileEntity getSegmentTE(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos)
    • getControllerTE

      public static BeltTileEntity getControllerTE(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos)
    • getBeltForOffset

      public static BeltTileEntity getBeltForOffset(BeltTileEntity controller, float offset)
    • getBeltAtSegment

      public static BeltTileEntity getBeltAtSegment(BeltTileEntity controller, int segment)
    • getPositionForOffset

      public static net.minecraft.core.BlockPos getPositionForOffset(BeltTileEntity controller, int offset)
    • getVectorForOffset

      public static net.minecraft.world.phys.Vec3 getVectorForOffset(BeltTileEntity controller, float offset)
    • getBeltVector

      public static net.minecraft.world.phys.Vec3 getBeltVector(net.minecraft.world.level.block.state.BlockState state)