Record Class ModelElementFace

java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.ModelElementFace
Record Components:
cullFace -
tintIndex -
textureId -
uvs -
rotation -

@Environment(CLIENT) public record ModelElementFace(@Nullable Direction cullFace, int tintIndex, String textureId, ModelElementFace.class_10800 uvs, class_10821 rotation) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/ModelElementFace
intermediary net/minecraft/class_783
official gru
named cullFace
intermediary comp_2867
official b
named tintIndex
intermediary comp_2868
official c
named textureId
intermediary comp_2869
official d
named uvs
intermediary comp_3733
official e
named rotation
intermediary comp_3734
official f
  • Field Details

    • cullFace

      @Nullable private final @Nullable Direction cullFace
      The field for the cullFace record component.
    • tintIndex

      private final int tintIndex
      The field for the tintIndex record component.
    • textureId

      private final String textureId
      The field for the textureId record component.
    • uvs

      The field for the uvs record component.
    • rotation

      private final class_10821 rotation
      The field for the rotation record component.
    • field_32789

      public static final int field_32789
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32789 Lnet/minecraft/client/render/model/json/ModelElementFace;field_32789:I
      intermediary field_32789 Lnet/minecraft/class_783;field_32789:I
      official a Lgru;a:I
  • Constructor Details

    • ModelElementFace

      public ModelElementFace(@Nullable @Nullable Direction cullFace, int tintIndex, String textureId, @Nullable @Nullable ModelElementFace.class_10800 textureData, class_10821 class_10821)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/ModelElementFace;<init>(Lnet/minecraft/util/math/Direction;ILjava/lang/String;Lnet/minecraft/client/render/model/json/ModelElementFace$class_10800;Lnet/minecraft/class_10821;)V
      intermediary <init> Lnet/minecraft/class_783;<init>(Lnet/minecraft/class_2350;ILjava/lang/String;Lnet/minecraft/class_783$class_10800;Lnet/minecraft/class_10821;)V
      official <init> Lgru;<init>(Ljb;ILjava/lang/String;Lgru$b;Li;)V
  • Method Details

    • method_67909

      public static float method_67909(ModelElementFace.class_10800 class_10800, class_10821 class_10821, int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_67909 Lnet/minecraft/client/render/model/json/ModelElementFace;method_67909(Lnet/minecraft/client/render/model/json/ModelElementFace$class_10800;Lnet/minecraft/class_10821;I)F
      intermediary method_67909 Lnet/minecraft/class_783;method_67909(Lnet/minecraft/class_783$class_10800;Lnet/minecraft/class_10821;I)F
      official a Lgru;a(Lgru$b;Li;I)F
    • method_67910

      public static float method_67910(ModelElementFace.class_10800 class_10800, class_10821 class_10821, int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_67910 Lnet/minecraft/client/render/model/json/ModelElementFace;method_67910(Lnet/minecraft/client/render/model/json/ModelElementFace$class_10800;Lnet/minecraft/class_10821;I)F
      intermediary method_67910 Lnet/minecraft/class_783;method_67910(Lnet/minecraft/class_783$class_10800;Lnet/minecraft/class_10821;I)F
      official b Lgru;b(Lgru$b;Li;I)F
    • 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.
    • cullFace

      @Nullable public @Nullable Direction cullFace()
      Returns the value of the cullFace record component.
      Returns:
      the value of the cullFace record component
    • tintIndex

      public int tintIndex()
      Returns the value of the tintIndex record component.
      Returns:
      the value of the tintIndex record component
    • textureId

      public String textureId()
      Returns the value of the textureId record component.
      Returns:
      the value of the textureId record component
    • uvs

      Returns the value of the uvs record component.
      Returns:
      the value of the uvs record component
    • rotation

      public class_10821 rotation()
      Returns the value of the rotation record component.
      Returns:
      the value of the rotation record component