Class ModelRotation

java.lang.Object
net.minecraft.client.render.model.json.ModelRotation

@Environment(CLIENT) public class ModelRotation extends Object
Mappings:
Namespace Name
official eyr
intermediary net/minecraft/class_789
named net/minecraft/client/render/model/json/ModelRotation
  • Field Details

    • origin

      public final Vec3f origin
      Mappings:
      Namespace Name Mixin selector
      official a Leyr;a:Lk;
      intermediary field_4236 Lnet/minecraft/class_789;field_4236:Lnet/minecraft/class_1160;
      named origin Lnet/minecraft/client/render/model/json/ModelRotation;origin:Lnet/minecraft/util/math/Vec3f;
    • axis

      public final Direction.Axis axis
      Mappings:
      Namespace Name Mixin selector
      official b Leyr;b:Lgy$a;
      intermediary field_4239 Lnet/minecraft/class_789;field_4239:Lnet/minecraft/class_2350$class_2351;
      named axis Lnet/minecraft/client/render/model/json/ModelRotation;axis:Lnet/minecraft/util/math/Direction$Axis;
    • angle

      public final float angle
      Mappings:
      Namespace Name Mixin selector
      official c Leyr;c:F
      intermediary field_4237 Lnet/minecraft/class_789;field_4237:F
      named angle Lnet/minecraft/client/render/model/json/ModelRotation;angle:F
    • rescale

      public final boolean rescale
      Mappings:
      Namespace Name Mixin selector
      official d Leyr;d:Z
      intermediary field_4238 Lnet/minecraft/class_789;field_4238:Z
      named rescale Lnet/minecraft/client/render/model/json/ModelRotation;rescale:Z
  • Constructor Details

    • ModelRotation

      public ModelRotation(Vec3f origin, Direction.Axis axis, float angle, boolean rescale)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyr;<init>(Lk;Lgy$a;FZ)V
      intermediary <init> Lnet/minecraft/class_789;<init>(Lnet/minecraft/class_1160;Lnet/minecraft/class_2350$class_2351;FZ)V
      named <init> Lnet/minecraft/client/render/model/json/ModelRotation;<init>(Lnet/minecraft/util/math/Vec3f;Lnet/minecraft/util/math/Direction$Axis;FZ)V