Modifier and Type | Field and Description |
---|---|
private Direction.Axis |
NetherPortalBlock.Size.axis |
Modifier and Type | Field and Description |
---|---|
static EnumProperty<Direction.Axis> |
RotatedPillarBlock.AXIS |
static EnumProperty<Direction.Axis> |
NetherPortalBlock.AXIS |
Constructor and Description |
---|
Size(IWorld worldIn,
BlockPos pos,
Direction.Axis axisIn) |
Modifier and Type | Field and Description |
---|---|
Direction.Axis |
BlockPartRotation.axis |
Modifier and Type | Method and Description |
---|---|
private Direction.Axis |
BlockPart.Deserializer.parseAxis(com.google.gson.JsonObject object) |
Constructor and Description |
---|
BlockPartRotation(Vector3f p_i47623_1_,
Direction.Axis p_i47623_2_,
float p_i47623_3_,
boolean p_i47623_4_) |
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<Direction.Axis> |
SwizzleArgument.getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
java.util.EnumSet<Direction.Axis> |
SwizzleArgument.parse(com.mojang.brigadier.StringReader p_parse_1_) |
Modifier and Type | Method and Description |
---|---|
private double |
Entity.calculatePistonDeltas(Direction.Axis axis,
double distance) |
Modifier and Type | Method and Description |
---|---|
private void |
ShulkerBulletEntity.selectNextMoveDirection(Direction.Axis p_184569_1_) |
Constructor and Description |
---|
ShulkerBulletEntity(World worldIn,
LivingEntity ownerIn,
Entity targetIn,
Direction.Axis p_i46772_4_) |
Modifier and Type | Field and Description |
---|---|
static EnumProperty<Direction.Axis> |
BlockStateProperties.AXIS |
static EnumProperty<Direction.Axis> |
BlockStateProperties.HORIZONTAL_AXIS |
Modifier and Type | Field and Description |
---|---|
static Direction.Axis[] |
AxisRotation.AXES |
private Direction.Axis |
Direction.axis |
private Direction.Axis[] |
Direction.Plane.axisValues |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,Direction.Axis> |
Direction.Axis.NAME_LOOKUP |
Modifier and Type | Method and Description |
---|---|
static Direction.Axis |
Direction.Axis.byName(java.lang.String name) |
Direction.Axis |
Direction.getAxis() |
static Direction.Axis |
Direction.Axis.random(java.util.Random randomIn) |
abstract Direction.Axis |
AxisRotation.rotate(Direction.Axis axisIn) |
static Direction.Axis |
Direction.Axis.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Direction.Axis[] |
Direction.Axis.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static AxisRotation |
AxisRotation.from(Direction.Axis axis1,
Direction.Axis axis2) |
abstract int |
AxisRotation.getCoordinate(int x,
int y,
int z,
Direction.Axis axis) |
static Direction |
Direction.getFacingFromAxis(Direction.AxisDirection axisDirectionIn,
Direction.Axis axisIn) |
static Direction |
Direction.getFacingFromAxisDirection(Direction.Axis axisIn,
Direction.AxisDirection axisDirectionIn) |
abstract Direction.Axis |
AxisRotation.rotate(Direction.Axis axisIn) |
Constructor and Description |
---|
Direction(int indexIn,
int oppositeIn,
int horizontalIndexIn,
java.lang.String nameIn,
Direction.AxisDirection axisDirectionIn,
Direction.Axis axisIn,
Vec3i directionVecIn) |
Plane(Direction[] facingValuesIn,
Direction.Axis[] axisValuesIn) |
Modifier and Type | Method and Description |
---|---|
double |
Vec3d.getCoordinate(Direction.Axis axis) |
double |
AxisAlignedBB.getMax(Direction.Axis axis) |
double |
AxisAlignedBB.getMin(Direction.Axis axis) |
Modifier and Type | Method and Description |
---|---|
Vec3d |
Vec3d.align(java.util.EnumSet<Direction.Axis> axes) |
Modifier and Type | Field and Description |
---|---|
private Direction.Axis |
SplitVoxelShape.axis |
private static Direction.Axis[] |
VoxelShapePart.AXIS_VALUES |
Modifier and Type | Method and Description |
---|---|
int |
VoxelShapePart.firstFilled(Direction.Axis p_197826_1_,
int p_197826_2_,
int p_197826_3_) |
double |
VoxelShape.getAllowedOffset(Direction.Axis movementAxis,
AxisAlignedBB collisionBox,
double desiredOffset) |
static double |
VoxelShapes.getAllowedOffset(Direction.Axis movementAxis,
AxisAlignedBB collisionBox,
IWorldReader worldReader,
double desiredOffset,
ISelectionContext selectionContext,
java.util.stream.Stream<VoxelShape> possibleHits) |
static double |
VoxelShapes.getAllowedOffset(Direction.Axis movementAxis,
AxisAlignedBB collisionBox,
java.util.stream.Stream<VoxelShape> possibleHits,
double desiredOffset) |
protected int |
VoxelShape.getClosestIndex(Direction.Axis axis,
double position) |
protected int |
VoxelShapeCube.getClosestIndex(Direction.Axis axis,
double position) |
double |
VoxelShape.getEnd(Direction.Axis axis) |
abstract int |
VoxelShapePart.getEnd(Direction.Axis axis) |
int |
BitSetVoxelShapePart.getEnd(Direction.Axis axis) |
int |
PartSplitVoxelShape.getEnd(Direction.Axis axis) |
int |
VoxelShapePart.getSize(Direction.Axis axis) |
double |
VoxelShape.getStart(Direction.Axis axis) |
abstract int |
VoxelShapePart.getStart(Direction.Axis axis) |
int |
BitSetVoxelShapePart.getStart(Direction.Axis axis) |
int |
PartSplitVoxelShape.getStart(Direction.Axis axis) |
protected abstract it.unimi.dsi.fastutil.doubles.DoubleList |
VoxelShape.getValues(Direction.Axis axis) |
protected it.unimi.dsi.fastutil.doubles.DoubleList |
VoxelShapeCube.getValues(Direction.Axis axis) |
protected it.unimi.dsi.fastutil.doubles.DoubleList |
SplitVoxelShape.getValues(Direction.Axis axis) |
protected it.unimi.dsi.fastutil.doubles.DoubleList |
VoxelShapeArray.getValues(Direction.Axis axis) |
protected double |
VoxelShape.getValueUnchecked(Direction.Axis axis,
int index) |
int |
VoxelShapePart.lastFilled(Direction.Axis p_197836_1_,
int p_197836_2_,
int p_197836_3_) |
private static VoxelShapePart |
SplitVoxelShape.makeShapePart(VoxelShapePart shapePartIn,
Direction.Axis axis,
int p_197775_2_) |
double |
VoxelShape.max(Direction.Axis p_197760_1_,
double p_197760_2_,
double p_197760_4_) |
double |
VoxelShape.min(Direction.Axis axis,
double p_197764_2_,
double p_197764_4_) |
Constructor and Description |
---|
SplitVoxelShape(VoxelShape shapeIn,
Direction.Axis axis,
int p_i47682_3_) |
Modifier and Type | Method and Description |
---|---|
private Direction.Axis |
FancyTreeFeature.func_227238_a_(BlockPos p_227238_1_,
BlockPos p_227238_2_) |
Modifier and Type | Field and Description |
---|---|
private Direction.Axis |
ModelBuilder.ElementBuilder.RotationBuilder.axis |
Modifier and Type | Method and Description |
---|---|
ModelBuilder.ElementBuilder.RotationBuilder |
ModelBuilder.ElementBuilder.RotationBuilder.axis(Direction.Axis axis) |