public class VoxelShaper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
VoxelShaper.DefaultRotationValues |
protected static class |
VoxelShaper.HorizontalRotationValues |
| Constructor and Description |
|---|
VoxelShaper() |
| Modifier and Type | Method and Description |
|---|---|
static net.minecraft.util.Direction |
axisAsFace(net.minecraft.util.Direction.Axis axis) |
static VoxelShaper |
forAxis(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.Direction.Axis along) |
static VoxelShaper |
forDirectional(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.Direction facing) |
protected static VoxelShaper |
forDirectionsWithRotation(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.Direction facing,
java.lang.Iterable<net.minecraft.util.Direction> directions,
java.util.function.Function<net.minecraft.util.Direction,net.minecraft.util.math.vector.Vector3d> rotationValues) |
static VoxelShaper |
forHorizontal(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.Direction facing) |
static VoxelShaper |
forHorizontalAxis(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.Direction.Axis along) |
net.minecraft.util.math.shapes.VoxelShape |
get(net.minecraft.util.Direction.Axis axis) |
net.minecraft.util.math.shapes.VoxelShape |
get(net.minecraft.util.Direction direction) |
protected static float |
horizontalAngleFromDirection(net.minecraft.util.Direction direction) |
protected static net.minecraft.util.math.shapes.VoxelShape |
rotate(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.Direction from,
net.minecraft.util.Direction to,
java.util.function.Function<net.minecraft.util.Direction,net.minecraft.util.math.vector.Vector3d> usingValues) |
protected static net.minecraft.util.math.shapes.VoxelShape |
rotatedCopy(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.math.vector.Vector3d rotation) |
VoxelShaper |
withShape(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.Direction facing) |
VoxelShaper |
withVerticalShapes(net.minecraft.util.math.shapes.VoxelShape upShape) |
public net.minecraft.util.math.shapes.VoxelShape get(net.minecraft.util.Direction direction)
public net.minecraft.util.math.shapes.VoxelShape get(net.minecraft.util.Direction.Axis axis)
public static VoxelShaper forHorizontal(net.minecraft.util.math.shapes.VoxelShape shape, net.minecraft.util.Direction facing)
public static VoxelShaper forHorizontalAxis(net.minecraft.util.math.shapes.VoxelShape shape, net.minecraft.util.Direction.Axis along)
public static VoxelShaper forDirectional(net.minecraft.util.math.shapes.VoxelShape shape, net.minecraft.util.Direction facing)
public static VoxelShaper forAxis(net.minecraft.util.math.shapes.VoxelShape shape, net.minecraft.util.Direction.Axis along)
public VoxelShaper withVerticalShapes(net.minecraft.util.math.shapes.VoxelShape upShape)
public VoxelShaper withShape(net.minecraft.util.math.shapes.VoxelShape shape, net.minecraft.util.Direction facing)
public static net.minecraft.util.Direction axisAsFace(net.minecraft.util.Direction.Axis axis)
protected static float horizontalAngleFromDirection(net.minecraft.util.Direction direction)
protected static VoxelShaper forDirectionsWithRotation(net.minecraft.util.math.shapes.VoxelShape shape, net.minecraft.util.Direction facing, java.lang.Iterable<net.minecraft.util.Direction> directions, java.util.function.Function<net.minecraft.util.Direction,net.minecraft.util.math.vector.Vector3d> rotationValues)
protected static net.minecraft.util.math.shapes.VoxelShape rotate(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.Direction from,
net.minecraft.util.Direction to,
java.util.function.Function<net.minecraft.util.Direction,net.minecraft.util.math.vector.Vector3d> usingValues)
protected static net.minecraft.util.math.shapes.VoxelShape rotatedCopy(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.math.vector.Vector3d rotation)