Record Class SimpleMultipartModelSelector.Values
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.SimpleMultipartModelSelector.Values
- Record Components:
entries-
- Enclosing class:
SimpleMultipartModelSelector
@Environment(CLIENT)
public static record SimpleMultipartModelSelector.Values(List<SimpleMultipartModelSelector.Value> entries)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/json/SimpleMultipartModelSelector$Valuesintermediary net/minecraft/class_818$class_10808official gsm$bnamed entriesintermediary comp_3763official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<String> private final List<SimpleMultipartModelSelector.Value> The field for theentriesrecord component.private static final charprivate static final Joinerprivate static final Splitterstatic final com.mojang.serialization.Codec<SimpleMultipartModelSelector.Values> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.private <T extends Comparable<T>>
Tfinal inthashCode()Returns a hash code value for this object.private <T extends Comparable<T>>
Predicate<T> instantiate(Object object, Property<T> property, SimpleMultipartModelSelector.Value value) <O,S extends State<O, S>, T extends Comparable<T>>
Predicate<S> instantiate(O o, Property<T> property) toString()Returns a string representation of this record class.static com.mojang.serialization.DataResult<SimpleMultipartModelSelector.Values>
-
Field Details
-
entries
The field for theentriesrecord component. -
field_56947
private static final char field_56947- See Also:
- Mappings:
Namespace Name Mixin selector named field_56947Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Values;field_56947:Cintermediary field_56947Lnet/minecraft/class_818$class_10808;field_56947:Cofficial cLgsm$b;c:C
-
JOINER
- Mappings:
Namespace Name Mixin selector named JOINERLnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Values;JOINER:Lcom/google/common/base/Joiner;intermediary field_56948Lnet/minecraft/class_818$class_10808;field_56948:Lcom/google/common/base/Joiner;official dLgsm$b;d:Lcom/google/common/base/Joiner;
-
SPLITTER
- Mappings:
Namespace Name Mixin selector named SPLITTERLnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Values;SPLITTER:Lcom/google/common/base/Splitter;intermediary field_56949Lnet/minecraft/class_818$class_10808;field_56949:Lcom/google/common/base/Splitter;official eLgsm$b;e:Lcom/google/common/base/Splitter;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Values;CODEC:Lcom/mojang/serialization/Codec;intermediary field_56950Lnet/minecraft/class_818$class_10808;field_56950:Lcom/mojang/serialization/Codec;official fLgsm$b;f:Lcom/mojang/serialization/Codec;
-
VALUE_CODEC
- Mappings:
Namespace Name Mixin selector named VALUE_CODECLnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Values;VALUE_CODEC:Lcom/mojang/serialization/Codec;intermediary field_56946Lnet/minecraft/class_818$class_10808;field_56946:Lcom/mojang/serialization/Codec;official aLgsm$b;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Values
-
-
Method Details
-
tryParse
public static com.mojang.serialization.DataResult<SimpleMultipartModelSelector.Values> tryParse(String string) - Mappings:
Namespace Name Mixin selector named tryParseLnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Values;tryParse(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;intermediary method_67972Lnet/minecraft/class_818$class_10808;method_67972(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;official aLgsm$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 o, Property<T> property) - Mappings:
Namespace Name Mixin selector named instantiateLnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Values;instantiate(Ljava/lang/Object;Lnet/minecraft/state/property/Property;)Ljava/util/function/Predicate;intermediary method_67969Lnet/minecraft/class_818$class_10808;method_67969(Ljava/lang/Object;Lnet/minecraft/class_2769;)Ljava/util/function/Predicate;official aLgsm$b;a(Ljava/lang/Object;Lebr;)Ljava/util/function/Predicate;
-
getValue
- Mappings:
Namespace Name Mixin selector named getValueLnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Values;getValue(Ljava/lang/Object;Lnet/minecraft/state/property/Property;Ljava/lang/String;)Ljava/lang/Comparable;intermediary method_67971Lnet/minecraft/class_818$class_10808;method_67971(Ljava/lang/Object;Lnet/minecraft/class_2769;Ljava/lang/String;)Ljava/lang/Comparable;official aLgsm$b;a(Ljava/lang/Object;Lebr;Ljava/lang/String;)Ljava/lang/Comparable;
-
instantiate
private <T extends Comparable<T>> Predicate<T> instantiate(Object object, Property<T> property, SimpleMultipartModelSelector.Value value) - Mappings:
Namespace Name Mixin selector named instantiateLnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Values;instantiate(Ljava/lang/Object;Lnet/minecraft/state/property/Property;Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$Value;)Ljava/util/function/Predicate;intermediary method_67970Lnet/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 aLgsm$b;a(Ljava/lang/Object;Lebr;Lgsm$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 theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-