Record Class SimpleMultipartModelSelector
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.SimpleMultipartModelSelector
- Record Components:
tests-
- All Implemented Interfaces:
MultipartModelSelector
@Environment(CLIENT)
public record SimpleMultipartModelSelector(Map<String,SimpleMultipartModelSelector.class_10808> tests)
extends Record
implements MultipartModelSelector
- Mappings:
Namespace Name named net/minecraft/client/render/model/json/SimpleMultipartModelSelectorintermediary net/minecraft/class_818official gsmnamed testsintermediary comp_3760official c
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SimpleMultipartModelSelector> (package private) static final Loggerprivate final Map<String, SimpleMultipartModelSelector.class_10808> The field for thetestsrecord component.Fields inherited from interface net.minecraft.client.render.model.json.MultipartModelSelector
field_56942 -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.instantiate(StateManager<O, S> stateManager) method_67961(StateManager<O, S> stateManager, String string, SimpleMultipartModelSelector.class_10808 class_10808) tests()Returns the value of thetestsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
tests
The field for thetestsrecord component. -
field_56944
- Mappings:
Namespace Name Mixin selector named field_56944Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;field_56944:Lorg/slf4j/Logger;intermediary field_56944Lnet/minecraft/class_818;field_56944:Lorg/slf4j/Logger;official dLgsm;d:Lorg/slf4j/Logger;
-
field_56943
- Mappings:
Namespace Name Mixin selector named field_56943Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;field_56943:Lcom/mojang/serialization/Codec;intermediary field_56943Lnet/minecraft/class_818;field_56943:Lcom/mojang/serialization/Codec;official bLgsm;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
SimpleMultipartModelSelector
-
-
Method Details
-
instantiate
- Specified by:
instantiatein interfaceMultipartModelSelector
-
method_67961
private static <O,S extends State<O, Predicate<S> method_67961S>> (StateManager<O, S> stateManager, String string, SimpleMultipartModelSelector.class_10808 class_10808) - Mappings:
Namespace Name Mixin selector named method_67961Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector;method_67961(Lnet/minecraft/state/StateManager;Ljava/lang/String;Lnet/minecraft/client/render/model/json/SimpleMultipartModelSelector$class_10808;)Ljava/util/function/Predicate;intermediary method_67961Lnet/minecraft/class_818;method_67961(Lnet/minecraft/class_2689;Ljava/lang/String;Lnet/minecraft/class_818$class_10808;)Ljava/util/function/Predicate;official aLgsm;a(Leap;Ljava/lang/String;Lgsm$b;)Ljava/util/function/Predicate;
-
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. -
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). -
tests
Returns the value of thetestsrecord component.- Returns:
- the value of the
testsrecord component
-