Record Class ModelVariant.class_10803

java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.ModelVariant.class_10803
Record Components:
x -
y -
uvLock -
Enclosing class:
ModelVariant

@Environment(CLIENT) public static record ModelVariant.class_10803(class_10821 x, class_10821 y, boolean uvLock) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/ModelVariant$class_10803
intermediary net/minecraft/class_813$class_10803
official gsh$a
named x
intermediary comp_3755
official c
named y
intermediary comp_3756
official d
named uvLock
intermediary comp_3757
official e
  • Field Details

    • x

      private final class_10821 x
      The field for the x record component.
    • y

      private final class_10821 y
      The field for the y record component.
    • uvLock

      private final boolean uvLock
      The field for the uvLock record component.
    • field_56934

      public static final com.mojang.serialization.MapCodec<ModelVariant.class_10803> field_56934
      Mappings:
      Namespace Name Mixin selector
      named field_56934 Lnet/minecraft/client/render/model/json/ModelVariant$class_10803;field_56934:Lcom/mojang/serialization/MapCodec;
      intermediary field_56934 Lnet/minecraft/class_813$class_10803;field_56934:Lcom/mojang/serialization/MapCodec;
      official a Lgsh$a;a:Lcom/mojang/serialization/MapCodec;
    • field_56935

      public static final ModelVariant.class_10803 field_56935
      Mappings:
      Namespace Name Mixin selector
      named field_56935 Lnet/minecraft/client/render/model/json/ModelVariant$class_10803;field_56935:Lnet/minecraft/client/render/model/json/ModelVariant$class_10803;
      intermediary field_56935 Lnet/minecraft/class_813$class_10803;field_56935:Lnet/minecraft/class_813$class_10803;
      official b Lgsh$a;b:Lgsh$a;
  • Constructor Details

  • Method Details

    • method_67943

      public ModelBakeSettings method_67943()
      Mappings:
      Namespace Name Mixin selector
      named method_67943 Lnet/minecraft/client/render/model/json/ModelVariant$class_10803;method_67943()Lnet/minecraft/client/render/model/ModelBakeSettings;
      intermediary method_67943 Lnet/minecraft/class_813$class_10803;method_67943()Lnet/minecraft/class_3665;
      official a Lgsh$a;a()Lhly;
    • method_67945

      public ModelVariant.class_10803 method_67945(class_10821 class_10821)
      Mappings:
      Namespace Name Mixin selector
      named method_67945 Lnet/minecraft/client/render/model/json/ModelVariant$class_10803;method_67945(Lnet/minecraft/class_10821;)Lnet/minecraft/client/render/model/json/ModelVariant$class_10803;
      intermediary method_67945 Lnet/minecraft/class_813$class_10803;method_67945(Lnet/minecraft/class_10821;)Lnet/minecraft/class_813$class_10803;
      official a Lgsh$a;a(Li;)Lgsh$a;
    • method_67947

      public ModelVariant.class_10803 method_67947(class_10821 class_10821)
      Mappings:
      Namespace Name Mixin selector
      named method_67947 Lnet/minecraft/client/render/model/json/ModelVariant$class_10803;method_67947(Lnet/minecraft/class_10821;)Lnet/minecraft/client/render/model/json/ModelVariant$class_10803;
      intermediary method_67947 Lnet/minecraft/class_813$class_10803;method_67947(Lnet/minecraft/class_10821;)Lnet/minecraft/class_813$class_10803;
      official b Lgsh$a;b(Li;)Lgsh$a;
    • method_67946

      public ModelVariant.class_10803 method_67946(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named method_67946 Lnet/minecraft/client/render/model/json/ModelVariant$class_10803;method_67946(Z)Lnet/minecraft/client/render/model/json/ModelVariant$class_10803;
      intermediary method_67946 Lnet/minecraft/class_813$class_10803;method_67946(Z)Lnet/minecraft/class_813$class_10803;
      official a Lgsh$a;a(Z)Lgsh$a;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • x

      public class_10821 x()
      Returns the value of the x record component.
      Returns:
      the value of the x record component
    • y

      public class_10821 y()
      Returns the value of the y record component.
      Returns:
      the value of the y record component
    • uvLock

      public boolean uvLock()
      Returns the value of the uvLock record component.
      Returns:
      the value of the uvLock record component