Class BeltHelper

java.lang.Object
com.simibubi.create.content.kinetics.belt.BeltHelper

public class BeltHelper extends Object
  • Field Details

    • uprightCache

      public static Map<net.minecraft.world.item.Item,Boolean> uprightCache
    • LISTENER

      public static final net.minecraft.server.packs.resources.ResourceManagerReloadListener LISTENER
  • Constructor Details

    • BeltHelper

      public BeltHelper()
  • Method Details

    • isItemUpright

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

      public static BeltBlockEntity getSegmentBE(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos)
    • getControllerBE

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

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

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

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

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

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