Package | Description |
---|---|
net.minecraft.util | |
net.minecraft.util.math | |
net.minecraft.util.math.shapes |
Modifier and Type | Field and Description |
---|---|
static AxisRotation[] |
AxisRotation.AXIS_ROTATIONS |
Modifier and Type | Method and Description |
---|---|
static AxisRotation |
AxisRotation.from(Direction.Axis axis1,
Direction.Axis axis2) |
abstract AxisRotation |
AxisRotation.reverse() |
static AxisRotation |
AxisRotation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AxisRotation[] |
AxisRotation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
BlockPos.Mutable |
BlockPos.Mutable.func_218295_a(AxisRotation p_218295_1_,
int p_218295_2_,
int p_218295_3_,
int p_218295_4_) |
Modifier and Type | Method and Description |
---|---|
boolean |
VoxelShapePart.containsWithRotation(AxisRotation p_197824_1_,
int x,
int y,
int z) |
private void |
VoxelShapePart.forEachEdgeOnAxis(VoxelShapePart.ILineConsumer p_197832_1_,
AxisRotation p_197832_2_,
boolean p_197832_3_) |
private void |
VoxelShapePart.forEachFaceOnAxis(VoxelShapePart.IFaceConsumer faceConsumer,
AxisRotation axisRotationIn) |
private static double |
VoxelShapes.getAllowedOffset(AxisAlignedBB collisionBox,
IWorldReader worldReader,
double desiredOffset,
ISelectionContext selectionContext,
AxisRotation rotationAxis,
java.util.stream.Stream<VoxelShape> possibleHits) |
protected double |
VoxelShape.getAllowedOffset(AxisRotation movementAxis,
AxisAlignedBB collisionBox,
double desiredOffset) |
boolean |
VoxelShapePart.isFilledWithRotation(AxisRotation rotationIn,
int x,
int y,
int z) |