Class RotationPropertyHelper

java.lang.Object
net.minecraft.util.math.RotationPropertyHelper

public class RotationPropertyHelper extends Object
Mappings:
Namespace Name
official czz
intermediary net/minecraft/class_7718
named net/minecraft/util/math/RotationPropertyHelper
  • Field Details

    • MAX

      private static final int MAX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lczz;a: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 b Lczz;b: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 c Lczz;c: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 d Lczz;d: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 e Lczz;e: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 Lczz;a()I
      intermediary method_45478 Lnet/minecraft/class_7718;method_45478()I
      named getMax Lnet/minecraft/util/math/RotationPropertyHelper;getMax()I
    • fromDirection

      public static int fromDirection(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lczz;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 Lczz;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

      public static Optional<Direction> toDirection(int rotation)
      Mappings:
      Namespace Name Mixin selector
      official a Lczz;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 Lczz;b(I)F
      intermediary method_45482 Lnet/minecraft/class_7718;method_45482(I)F
      named toDegrees Lnet/minecraft/util/math/RotationPropertyHelper;toDegrees(I)F