Record Class SimpleMultipartModelSelector.Terms

java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.SimpleMultipartModelSelector.Terms
Record Components:
entries -
Enclosing class:
SimpleMultipartModelSelector

@Environment(CLIENT) public static record SimpleMultipartModelSelector.Terms(List<SimpleMultipartModelSelector.Term> entries) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/SimpleMultipartModelSelector$Terms
intermediary net/minecraft/class_818$class_10808
official gzp$b
named entries
intermediary comp_3763
official b
  • Field Details

    • entries

      private final List<SimpleMultipartModelSelector.Term> entries
      The field for the entries record component.
    • DELIMITER

      private static final char DELIMITER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DELIMITER Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Terms;DELIMITER:C
      intermediary field_56947 Lnet/minecraft/class_818$class_10808;field_56947:C
      official c Lgzp$b;c:C
    • JOINER

      private static final Joiner JOINER
      Mappings:
      Namespace Name Mixin selector
      named JOINER Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Terms;JOINER:Lcom/google/common/base/Joiner;
      intermediary field_56948 Lnet/minecraft/class_818$class_10808;field_56948:Lcom/google/common/base/Joiner;
      official d Lgzp$b;d:Lcom/google/common/base/Joiner;
    • SPLITTER

      private static final Splitter SPLITTER
      Mappings:
      Namespace Name Mixin selector
      named SPLITTER Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Terms;SPLITTER:Lcom/google/common/base/Splitter;
      intermediary field_56949 Lnet/minecraft/class_818$class_10808;field_56949:Lcom/google/common/base/Splitter;
      official e Lgzp$b;e:Lcom/google/common/base/Splitter;
    • CODEC

      private static final com.mojang.serialization.Codec<String> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Terms;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_56950 Lnet/minecraft/class_818$class_10808;field_56950:Lcom/mojang/serialization/Codec;
      official f Lgzp$b;f:Lcom/mojang/serialization/Codec;
    • VALUE_CODEC

      public static final com.mojang.serialization.Codec<SimpleMultipartModelSelector.Terms> VALUE_CODEC
      Mappings:
      Namespace Name Mixin selector
      named VALUE_CODEC Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Terms;VALUE_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_56946 Lnet/minecraft/class_818$class_10808;field_56946:Lcom/mojang/serialization/Codec;
      official a Lgzp$b;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • tryParse

      public static com.mojang.serialization.DataResult<SimpleMultipartModelSelector.Terms> tryParse(String terms)
      Mappings:
      Namespace Name Mixin selector
      named tryParse Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Terms;tryParse(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
      intermediary method_67972 Lnet/minecraft/class_818$class_10808;method_67972(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
      official a Lgzp$b;a(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
    • toString

      public 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
    • instantiate

      public <O, S extends State<O, S>, T extends Comparable<T>> Predicate<S> instantiate(O object, Property<T> property)
      Mappings:
      Namespace Name Mixin selector
      named instantiate Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Terms;instantiate(Ljava/lang/Object;Lnet/minecraft/state/property/Property;)Ljava/util/function/Predicate;
      intermediary method_67969 Lnet/minecraft/class_818$class_10808;method_67969(Ljava/lang/Object;Lnet/minecraft/class_2769;)Ljava/util/function/Predicate;
      official a Lgzp$b;a(Ljava/lang/Object;Lefe;)Ljava/util/function/Predicate;
    • parseValue

      private <T extends Comparable<T>> T parseValue(Object object, Property<T> property, String value)
      Mappings:
      Namespace Name Mixin selector
      named parseValue Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Terms;parseValue(Ljava/lang/Object;Lnet/minecraft/state/property/Property;Ljava/lang/String;)Ljava/lang/Comparable;
      intermediary method_67971 Lnet/minecraft/class_818$class_10808;method_67971(Ljava/lang/Object;Lnet/minecraft/class_2769;Ljava/lang/String;)Ljava/lang/Comparable;
      official a Lgzp$b;a(Ljava/lang/Object;Lefe;Ljava/lang/String;)Ljava/lang/Comparable;
    • instantiate

      private <T extends Comparable<T>> Predicate<T> instantiate(Object object, Property<T> property, SimpleMultipartModelSelector.Term term)
      Mappings:
      Namespace Name Mixin selector
      named instantiate Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Terms;instantiate(Ljava/lang/Object;Lnet/minecraft/state/property/Property;Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Term;)Ljava/util/function/Predicate;
      intermediary method_67970 Lnet/minecraft/class_818$class_10808;method_67970(Ljava/lang/Object;Lnet/minecraft/class_2769;Lnet/minecraft/class_818$class_10807;)Ljava/util/function/Predicate;
      official a Lgzp$b;a(Ljava/lang/Object;Lefe;Lgzp$a;)Ljava/util/function/Predicate;
    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • entries

      Returns the value of the entries record component.
      Returns:
      the value of the entries record component