Class VoxelShapeHelper
java.lang.Object
net.tearpelato.deco_lib.api.shape.VoxelShapeHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.phys.shapes.VoxelShapestatic net.minecraft.world.phys.shapes.VoxelShapecombineAll(Collection<net.minecraft.world.phys.shapes.VoxelShape> shapes) static net.minecraft.world.phys.shapes.VoxelShape[]getRotatedShapes(net.minecraft.world.phys.shapes.VoxelShape source) static net.minecraft.world.phys.shapes.VoxelShapelimitHorizontal(net.minecraft.world.phys.shapes.VoxelShape source) static net.minecraft.world.phys.shapes.VoxelShaperotate(net.minecraft.world.phys.shapes.VoxelShape source, net.minecraft.core.Direction direction) static net.minecraft.world.phys.shapes.VoxelShaperotateHorizontally(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction direction) static net.minecraft.world.phys.shapes.VoxelShaperotateShape(net.minecraft.world.phys.shapes.VoxelShape source, net.minecraft.core.Direction direction) static net.minecraft.world.phys.Vec3rotateVec3(net.minecraft.world.phys.Vec3 vec, net.minecraft.core.Direction dir) static net.minecraft.world.phys.shapes.VoxelShapesetMaxHeight(net.minecraft.world.phys.shapes.VoxelShape source, double height)
-
Constructor Details
-
VoxelShapeHelper
public VoxelShapeHelper()
-
-
Method Details
-
combineAll
public static net.minecraft.world.phys.shapes.VoxelShape combineAll(Collection<net.minecraft.world.phys.shapes.VoxelShape> shapes) -
setMaxHeight
public static net.minecraft.world.phys.shapes.VoxelShape setMaxHeight(net.minecraft.world.phys.shapes.VoxelShape source, double height) -
limitHorizontal
public static net.minecraft.world.phys.shapes.VoxelShape limitHorizontal(net.minecraft.world.phys.shapes.VoxelShape source) -
getRotatedShapes
public static net.minecraft.world.phys.shapes.VoxelShape[] getRotatedShapes(net.minecraft.world.phys.shapes.VoxelShape source) -
rotate
public static net.minecraft.world.phys.shapes.VoxelShape rotate(net.minecraft.world.phys.shapes.VoxelShape source, net.minecraft.core.Direction direction) -
rotateHorizontally
public static net.minecraft.world.phys.shapes.VoxelShape rotateHorizontally(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction direction) -
combine
public static net.minecraft.world.phys.shapes.VoxelShape combine(List<net.minecraft.world.phys.shapes.VoxelShape> shapes) -
rotateShape
public static net.minecraft.world.phys.shapes.VoxelShape rotateShape(net.minecraft.world.phys.shapes.VoxelShape source, net.minecraft.core.Direction direction) -
rotateVec3
public static net.minecraft.world.phys.Vec3 rotateVec3(net.minecraft.world.phys.Vec3 vec, net.minecraft.core.Direction dir)
-