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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<String> private static final char
private final List
<SimpleMultipartModelSelector.Term> The field for theentries
record component.private static final Joiner
private static final Splitter
static final com.mojang.serialization.Codec
<SimpleMultipartModelSelector.Terms> -
Constructor Summary
ConstructorsConstructorDescriptionTerms
(List<SimpleMultipartModelSelector.Term> entries) Creates an instance of aTerms
record class. -
Method Summary
Modifier and TypeMethodDescriptionentries()
Returns the value of theentries
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.private <T extends Comparable<T>>
Predicate<T> instantiate
(Object object, Property<T> property, SimpleMultipartModelSelector.Term term) <O,
S extends State<O, S>, T extends Comparable<T>>
Predicate<S> instantiate
(O object, Property<T> property) private <T extends Comparable<T>>
TparseValue
(Object object, Property<T> property, String value) toString()
Returns a string representation of this record class.static com.mojang.serialization.DataResult
<SimpleMultipartModelSelector.Terms>
-
Field Details
-
entries
The field for theentries
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
- 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
- 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
- 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
- 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
-
Terms
Creates an instance of aTerms
record class.- Parameters:
entries
- the value for theentries
record component
-
-
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
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. -
instantiate
public <O,S extends State<O, Predicate<S> instantiateS>, T extends Comparable<T>> (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
- 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. -
equals
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 withObjects::equals(Object,Object)
. -
entries
Returns the value of theentries
record component.- Returns:
- the value of the
entries
record component
-