Class VoxelShaper
java.lang.Object
com.simibubi.create.foundation.utility.VoxelShaper
- Direct Known Subclasses:
GaugeShaper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.core.DirectionaxisAsFace(net.minecraft.core.Direction.Axis axis) protected static net.minecraft.world.phys.shapes.VoxelShapeblockBox(net.minecraft.world.phys.Vec3 v1, net.minecraft.world.phys.Vec3 v2) static VoxelShaperforAxis(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction.Axis along) static VoxelShaperforDirectional(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction facing) protected static VoxelShaperforDirectionsWithRotation(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction facing, Iterable<net.minecraft.core.Direction> directions, Function<net.minecraft.core.Direction, net.minecraft.world.phys.Vec3> rotationValues) static VoxelShaperforHorizontal(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction facing) static VoxelShaperforHorizontalAxis(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction.Axis along) net.minecraft.world.phys.shapes.VoxelShapeget(net.minecraft.core.Direction direction) net.minecraft.world.phys.shapes.VoxelShapeget(net.minecraft.core.Direction.Axis axis) protected static floathorizontalAngleFromDirection(net.minecraft.core.Direction direction) protected static net.minecraft.world.phys.shapes.VoxelShaperotate(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction from, net.minecraft.core.Direction to, Function<net.minecraft.core.Direction, net.minecraft.world.phys.Vec3> usingValues) protected static net.minecraft.world.phys.shapes.VoxelShaperotatedCopy(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.world.phys.Vec3 rotation) withShape(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction facing) withVerticalShapes(net.minecraft.world.phys.shapes.VoxelShape upShape)
-
Constructor Details
-
VoxelShaper
public VoxelShaper()
-
-
Method Details
-
get
public net.minecraft.world.phys.shapes.VoxelShape get(net.minecraft.core.Direction direction) -
get
public net.minecraft.world.phys.shapes.VoxelShape get(net.minecraft.core.Direction.Axis axis) -
forHorizontal
public static VoxelShaper forHorizontal(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction facing) -
forHorizontalAxis
public static VoxelShaper forHorizontalAxis(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction.Axis along) -
forDirectional
public static VoxelShaper forDirectional(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction facing) -
forAxis
public static VoxelShaper forAxis(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction.Axis along) -
withVerticalShapes
-
withShape
public VoxelShaper withShape(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction facing) -
axisAsFace
public static net.minecraft.core.Direction axisAsFace(net.minecraft.core.Direction.Axis axis) -
horizontalAngleFromDirection
protected static float horizontalAngleFromDirection(net.minecraft.core.Direction direction) -
forDirectionsWithRotation
protected static VoxelShaper forDirectionsWithRotation(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction facing, Iterable<net.minecraft.core.Direction> directions, Function<net.minecraft.core.Direction, net.minecraft.world.phys.Vec3> rotationValues) -
rotate
protected static net.minecraft.world.phys.shapes.VoxelShape rotate(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction from, net.minecraft.core.Direction to, Function<net.minecraft.core.Direction, net.minecraft.world.phys.Vec3> usingValues) -
rotatedCopy
protected static net.minecraft.world.phys.shapes.VoxelShape rotatedCopy(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.world.phys.Vec3 rotation) -
blockBox
protected static net.minecraft.world.phys.shapes.VoxelShape blockBox(net.minecraft.world.phys.Vec3 v1, net.minecraft.world.phys.Vec3 v2)
-