History - net.minecraft.util.math.Direction

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

IntFunction<Direction>: BY_ID, field_48449, INDEX_TO_VALUE_FUNCTION

IntFunction<Direction>: BY_ID, field_48449, INDEX_TO_VALUE

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

Vec3i (): getStep, method_1_6429, getOffset

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

String (): lambda$verifyVertical$7, method_49639, method_49639

String (): lambda$verifyVertical$0, method_49639, method_49639

Direction[] (int): lambda$static$6, method_10158, method_10158

Direction[] (int): lambda$BY_2D_DATA$0, method_10158, method_10158

int (Direction): lambda$static$5, method_10141, method_10141

int (Direction): lambda$static$4, method_10141, method_10141

boolean (Direction): lambda$static$4, method_10155, method_10155

boolean (Direction): lambda$static$3, method_10155, method_10155

Direction[] (int): lambda$static$3, method_10157, method_10157

Direction[] (int): lambda$BY_3D_DATA$0, method_10157, method_10157

1.21.11_unobfuscated

Names

net.minecraft.core.Direction

net.minecraft.class_2350

net.minecraft.util.math.Direction

Fields

Direction: DOWN, field_11033, DOWN

Direction: UP, field_11036, UP

Direction: NORTH, field_11043, NORTH

Direction: SOUTH, field_11035, SOUTH

Direction: WEST, field_11039, WEST

Direction: EAST, field_11034, EAST

StringIdentifiable$EnumCodec<Direction>: CODEC, field_29502, CODEC

com.mojang.serialization.Codec<Direction>: VERTICAL_CODEC, field_35088, VERTICAL_CODEC

IntFunction<Direction>: BY_ID, field_48449, INDEX_TO_VALUE_FUNCTION

PacketCodec<io.netty.buffer.ByteBuf, Direction>: STREAM_CODEC, field_48450, PACKET_CODEC

com.mojang.serialization.Codec<Direction>: LEGACY_ID_CODEC, field_57037, INDEX_CODEC

com.mojang.serialization.Codec<Direction>: LEGACY_ID_CODEC_2D, field_57038, HORIZONTAL_QUARTER_TURNS_CODEC

com.google.common.collect.ImmutableList<Direction$Axis>: YXZ_AXIS_ORDER, field_61964, YXZ

com.google.common.collect.ImmutableList<Direction$Axis>: YZX_AXIS_ORDER, field_61965, YZX

int: data3d, field_11032, index

int: oppositeIndex, field_11031, oppositeIndex

int: data2d, field_11030, horizontalQuarterTurns

String: name, field_11046, id

Direction$Axis: axis, field_11047, axis

Direction$AxisDirection: axisDirection, field_11044, direction

Vec3i: normal, field_11042, vec3i

Vec3d: normalVec3, field_53685, doubleVector

org.joml.Vector3fc: normalVec3f, field_57039, floatVector

Direction[]: VALUES, field_11040, ALL

Direction[]: BY_3D_DATA, field_11038, VALUES

Direction[]: BY_2D_DATA, field_11041, HORIZONTAL

Direction[]: $VALUES, field_11037, field_11037

Constructors

(int, int, int, String, Direction$AxisDirection, Direction$Axis, Vec3i)

Methods

Direction[] (): values, values, values

Direction (String): valueOf, valueOf, valueOf

Direction[] (Entity): orderedByNearest, method_10159, getEntityFacingOrder

Direction[] (Direction, Direction, Direction): makeDirectionArray, method_10145, listClosest

Direction (org.joml.Matrix4fc, Direction): rotate, method_23225, transform

Collection<Direction> (Random): allShuffled, method_42014, shuffle

Stream<Direction> (): stream, method_42013, stream

float (Direction): getYRot, method_62673, getHorizontalDegreesOrThrow

org.joml.Quaternionf (): getRotation, method_23224, getRotationQuaternion

int (): get3DDataValue, method_10146, getIndex

int (): get2DDataValue, method_10161, getHorizontalQuarterTurns

Direction$AxisDirection (): getAxisDirection, method_10171, getDirection

Direction (Entity, Direction$Axis): getFacingAxis, method_32801, getLookDirectionForAxis

Direction (): getOpposite, method_10153, getOpposite

Direction (Direction$Axis): getClockWise, method_35833, rotateClockwise

Direction (Direction$Axis): getCounterClockWise, method_35834, rotateCounterclockwise

Direction (): getClockWise, method_10170, rotateYClockwise

Direction (): getClockWiseX, method_35835, rotateXClockwise

Direction (): getCounterClockWiseX, method_35836, rotateXCounterclockwise

Direction (): getClockWiseZ, method_35837, rotateZClockwise

Direction (): getCounterClockWiseZ, method_35838, rotateZCounterclockwise

Direction (): getCounterClockWise, method_10160, rotateYCounterclockwise

int (): getStepX, method_10148, getOffsetX

int (): getStepY, method_10164, getOffsetY

int (): getStepZ, method_10165, getOffsetZ

org.joml.Vector3f (): step, method_23955, getUnitVector

String (): getName, method_10151, getId

Direction$Axis (): getAxis, method_10166, getAxis

Direction (String): byName, method_10168, byId

Direction (int): from3DDataValue, method_10143, byIndex

Direction (int): from2DDataValue, method_10139, fromHorizontalQuarterTurns

Direction (double): fromYRot, method_10150, fromHorizontalDegrees

Direction (Direction$Axis, Direction$AxisDirection): fromAxisAndDirection, method_10169, from

float (): toYRot, method_10144, getPositiveHorizontalDegrees

Direction (Random): getRandom, method_10162, random

Direction (double, double, double): getApproximateNearest, method_10142, getFacing

Direction (float, float, float): getApproximateNearest, method_10147, getFacing

Direction (Vec3d): getApproximateNearest, method_58251, getFacing

Direction (int, int, int, Direction): getNearest, method_62672, fromVector

Direction (Vec3i, Direction): getNearest, method_62674, fromVector

String (): getSerializedName, method_15434, asString

com.mojang.serialization.DataResult<Direction> (Direction): verifyVertical, method_38940, validateVertical

Direction (Direction$AxisDirection, Direction$Axis): get, method_10156, get

com.google.common.collect.ImmutableList<Direction$Axis> (Vec3d): axisStepOrder, method_73163, getCollisionOrder

Vec3i (): getUnitVec3i, method_62675, getVector

Vec3d (): getUnitVec3, method_62676, getDoubleVector

org.joml.Vector3fc (): getUnitVec3f, method_68072, getFloatVector

boolean (float): isFacingAngle, method_30928, pointsTo

String (): lambda$verifyVertical$7, method_49639, method_49639

Direction[] (int): lambda$static$6, method_10158, method_10158

int (Direction): lambda$static$5, method_10141, method_10141

boolean (Direction): lambda$static$4, method_10155, method_10155

Direction[] (int): lambda$static$3, method_10157, method_10157

int (Direction): lambda$static$2, method_10140, method_10140

Byte (Direction): lambda$static$1, method_68070, method_68070

Byte (Direction): lambda$static$0, method_68071, method_68071

Direction[] (): $values, method_36931, method_36931