Package net.minecraft

Record Class class_10186.class_10189

java.lang.Object
java.lang.Record
net.minecraft.class_10186.class_10189
Record Components:
textureId -
dyeable -
usePlayerTexture -
Enclosing class:
class_10186

public static record class_10186.class_10189(Identifier textureId, Optional<class_10186.class_10188> dyeable, boolean usePlayerTexture) extends Record
Mappings:
Namespace Name
named net/minecraft/class_10186$class_10189
intermediary net/minecraft/class_10186$class_10189
official ddf$c
named textureId
intermediary comp_3171
official b
named dyeable
intermediary comp_3172
official c
named usePlayerTexture
intermediary comp_3173
official d
  • Field Details

    • textureId

      private final Identifier textureId
      The field for the textureId record component.
    • dyeable

      private final Optional<class_10186.class_10188> dyeable
      The field for the dyeable record component.
    • usePlayerTexture

      private final boolean usePlayerTexture
      The field for the usePlayerTexture record component.
    • field_54124

      public static final com.mojang.serialization.Codec<class_10186.class_10189> field_54124
      Mappings:
      Namespace Name Mixin selector
      named field_54124 Lnet/minecraft/class_10186$class_10189;field_54124:Lcom/mojang/serialization/Codec;
      intermediary field_54124 Lnet/minecraft/class_10186$class_10189;field_54124:Lcom/mojang/serialization/Codec;
      official a Lddf$c;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • method_64005

      public static class_10186.class_10189 method_64005(Identifier identifier, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named method_64005 Lnet/minecraft/class_10186$class_10189;method_64005(Lnet/minecraft/util/Identifier;Z)Lnet/minecraft/class_10186$class_10189;
      intermediary method_64005 Lnet/minecraft/class_10186$class_10189;method_64005(Lnet/minecraft/class_2960;Z)Lnet/minecraft/class_10186$class_10189;
      official a Lddf$c;a(Lalh;Z)Lddf$c;
    • method_64009

      public static class_10186.class_10189 method_64009(Identifier identifier, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named method_64009 Lnet/minecraft/class_10186$class_10189;method_64009(Lnet/minecraft/util/Identifier;Z)Lnet/minecraft/class_10186$class_10189;
      intermediary method_64009 Lnet/minecraft/class_10186$class_10189;method_64009(Lnet/minecraft/class_2960;Z)Lnet/minecraft/class_10186$class_10189;
      official b Lddf$c;b(Lalh;Z)Lddf$c;
    • method_64007

      public Identifier method_64007(class_10186.class_10190 class_10190)
      Mappings:
      Namespace Name Mixin selector
      named method_64007 Lnet/minecraft/class_10186$class_10189;method_64007(Lnet/minecraft/class_10186$class_10190;)Lnet/minecraft/util/Identifier;
      intermediary method_64007 Lnet/minecraft/class_10186$class_10189;method_64007(Lnet/minecraft/class_10186$class_10190;)Lnet/minecraft/class_2960;
      official a Lddf$c;a(Lddf$d;)Lalh;
    • 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.
    • textureId

      public Identifier textureId()
      Returns the value of the textureId record component.
      Returns:
      the value of the textureId record component
    • dyeable

      public Optional<class_10186.class_10188> dyeable()
      Returns the value of the dyeable record component.
      Returns:
      the value of the dyeable record component
    • usePlayerTexture

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