public class VoxelShapeUtil
extends java.lang.Object
Constructor and Description |
---|
VoxelShapeUtil() |
Modifier and Type | Method and Description |
---|---|
static net.minecraft.util.math.shapes.VoxelShape |
rotate(net.minecraft.util.math.shapes.VoxelShape shape,
net.minecraft.util.Direction originalDir,
net.minecraft.util.Direction newDir)
Rotates the provided
VoxelShape from one direction to the other. |
public static net.minecraft.util.math.shapes.VoxelShape rotate(net.minecraft.util.math.shapes.VoxelShape shape, net.minecraft.util.Direction originalDir, net.minecraft.util.Direction newDir)
VoxelShape
from one direction to the other.shape
- originalDir
- newDir
- VoxelShape