Package net.minecraft.util.math
Class RotationPropertyHelper
java.lang.Object
net.minecraft.util.math.RotationPropertyHelper
- Mappings:
Namespace Name official dan
intermediary net/minecraft/class_7718
named net/minecraft/util/math/RotationPropertyHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final class_8013
private static final int
private static final int
private static final int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
fromDirection
(Direction direction) static int
fromYaw
(float yaw) static int
getMax()
static float
toDegrees
(int rotation) toDirection
(int rotation)
-
Field Details
-
field_41768
- Mappings:
Namespace Name Mixin selector official a
Ldan;a:Laou;
intermediary field_41768
Lnet/minecraft/class_7718;field_41768:Lnet/minecraft/class_8013;
named field_41768
Lnet/minecraft/util/math/RotationPropertyHelper;field_41768:Lnet/minecraft/class_8013;
-
MAX
private static final int MAX- Mappings:
Namespace Name Mixin selector official b
Ldan;b:I
intermediary field_40345
Lnet/minecraft/class_7718;field_40345:I
named MAX
Lnet/minecraft/util/math/RotationPropertyHelper;MAX:I
-
NORTH
private static final int NORTH- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ldan;c:I
intermediary field_40346
Lnet/minecraft/class_7718;field_40346:I
named NORTH
Lnet/minecraft/util/math/RotationPropertyHelper;NORTH:I
-
EAST
private static final int EAST- See Also:
- Mappings:
Namespace Name Mixin selector official d
Ldan;d:I
intermediary field_40347
Lnet/minecraft/class_7718;field_40347:I
named EAST
Lnet/minecraft/util/math/RotationPropertyHelper;EAST:I
-
SOUTH
private static final int SOUTH- See Also:
- Mappings:
Namespace Name Mixin selector official e
Ldan;e:I
intermediary field_40348
Lnet/minecraft/class_7718;field_40348:I
named SOUTH
Lnet/minecraft/util/math/RotationPropertyHelper;SOUTH:I
-
WEST
private static final int WEST- See Also:
- Mappings:
Namespace Name Mixin selector official f
Ldan;f:I
intermediary field_40349
Lnet/minecraft/class_7718;field_40349:I
named WEST
Lnet/minecraft/util/math/RotationPropertyHelper;WEST:I
-
-
Constructor Details
-
RotationPropertyHelper
public RotationPropertyHelper()
-
-
Method Details
-
getMax
public static int getMax()- Mappings:
Namespace Name Mixin selector official a
Ldan;a()I
intermediary method_45478
Lnet/minecraft/class_7718;method_45478()I
named getMax
Lnet/minecraft/util/math/RotationPropertyHelper;getMax()I
-
fromDirection
- Mappings:
Namespace Name Mixin selector official a
Ldan;a(Lgv;)I
intermediary method_45481
Lnet/minecraft/class_7718;method_45481(Lnet/minecraft/class_2350;)I
named fromDirection
Lnet/minecraft/util/math/RotationPropertyHelper;fromDirection(Lnet/minecraft/util/math/Direction;)I
-
fromYaw
public static int fromYaw(float yaw) - Mappings:
Namespace Name Mixin selector official a
Ldan;a(F)I
intermediary method_45479
Lnet/minecraft/class_7718;method_45479(F)I
named fromYaw
Lnet/minecraft/util/math/RotationPropertyHelper;fromYaw(F)I
-
toDirection
- Mappings:
Namespace Name Mixin selector official a
Ldan;a(I)Ljava/util/Optional;
intermediary method_45480
Lnet/minecraft/class_7718;method_45480(I)Ljava/util/Optional;
named toDirection
Lnet/minecraft/util/math/RotationPropertyHelper;toDirection(I)Ljava/util/Optional;
-
toDegrees
public static float toDegrees(int rotation) - Mappings:
Namespace Name Mixin selector official b
Ldan;b(I)F
intermediary method_45482
Lnet/minecraft/class_7718;method_45482(I)F
named toDegrees
Lnet/minecraft/util/math/RotationPropertyHelper;toDegrees(I)F
-