Record Class MultipartUnbakedModel.Serialized
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.MultipartUnbakedModel.Serialized
- Record Components:
selectors-
- Enclosing class:
MultipartUnbakedModel
@Environment(CLIENT)
public static record MultipartUnbakedModel.Serialized(List<MultipartModelComponent> selectors)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/MultipartUnbakedModel$Serializedintermediary net/minecraft/class_816$class_9982official gnk$bnamed selectorsintermediary comp_3052official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<MultipartModelComponent> The field for theselectorsrecord component. -
Constructor Summary
Constructors -
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.Returns the value of theselectorsrecord component.toModel(StateManager<Block, BlockState> stateManager) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
selectors
The field for theselectorsrecord component.
-
-
Constructor Details
-
Serialized
-
-
Method Details
-
toModel
- Mappings:
Namespace Name Mixin selector named toModelLnet/minecraft/client/render/model/MultipartUnbakedModel$Serialized;toModel(Lnet/minecraft/state/StateManager;)Lnet/minecraft/client/render/model/MultipartUnbakedModel;intermediary method_62339Lnet/minecraft/class_816$class_9982;method_62339(Lnet/minecraft/class_2689;)Lnet/minecraft/class_816;official aLgnk$b;a(Ldxv;)Lgnk;
-
getBackingModels
- Mappings:
Namespace Name Mixin selector named getBackingModelsLnet/minecraft/client/render/model/MultipartUnbakedModel$Serialized;getBackingModels()Ljava/util/Set;intermediary method_62338Lnet/minecraft/class_816$class_9982;method_62338()Ljava/util/Set;official aLgnk$b;a()Ljava/util/Set;
-
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). -
selectors
Returns the value of theselectorsrecord component.- Returns:
- the value of the
selectorsrecord component
-