Class BeltHelper
java.lang.Object
com.simibubi.create.content.contraptions.relays.belt.BeltHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BeltTileEntitygetBeltAtSegment(BeltTileEntity controller, int segment) static BeltTileEntitygetBeltForOffset(BeltTileEntity controller, float offset) static net.minecraft.world.phys.Vec3getBeltVector(net.minecraft.world.level.block.state.BlockState state) static BeltTileEntitygetControllerTE(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos) static net.minecraft.core.BlockPosgetPositionForOffset(BeltTileEntity controller, int offset) static BeltTileEntitygetSegmentTE(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos) static net.minecraft.world.phys.Vec3getVectorForOffset(BeltTileEntity controller, float offset) static booleanisItemUpright(net.minecraft.world.item.ItemStack stack)
-
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
-
getBeltAtSegment
-
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)
-