Record Class EquipmentModel
java.lang.Object
java.lang.Record
net.minecraft.client.render.entity.equipment.EquipmentModel
- Record Components:
- layers-
@Environment(CLIENT)
public record EquipmentModel(Map<EquipmentModel.LayerType,List<EquipmentModel.Layer>> layers)
extends Record 
- Mappings:
- Namespace - Name - named - net/minecraft/client/render/entity/equipment/EquipmentModel- intermediary - net/minecraft/class_10186- official - hgz- named - layers- intermediary - comp_3169- official - b
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic final recordstatic final recordstatic enum
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EquipmentModel> private static final com.mojang.serialization.Codec<List<EquipmentModel.Layer>> private final Map<EquipmentModel.LayerType, List<EquipmentModel.Layer>> The field for thelayersrecord component.
- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier and TypeMethodDescriptionstatic EquipmentModel.Builderbuilder()final booleanIndicates whether some other object is "equal to" this one.getLayers(EquipmentModel.LayerType layerType) final inthashCode()Returns a hash code value for this object.layers()Returns the value of thelayersrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
layersThe field for thelayersrecord component.
- 
LAYER_LIST_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - LAYER_LIST_CODEC- Lnet/minecraft/client/render/entity/equipment/EquipmentModel;LAYER_LIST_CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_54121- Lnet/minecraft/class_10186;field_54121:Lcom/mojang/serialization/Codec;- official - c- Lhgz;c:Lcom/mojang/serialization/Codec;
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/client/render/entity/equipment/EquipmentModel;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_54120- Lnet/minecraft/class_10186;field_54120:Lcom/mojang/serialization/Codec;- official - a- Lhgz;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
EquipmentModel
 
- 
- 
Method Details- 
builder- Mappings:
- Namespace - Name - Mixin selector - named - builder- Lnet/minecraft/client/render/entity/equipment/EquipmentModel;builder()Lnet/minecraft/client/render/entity/equipment/EquipmentModel$Builder;- intermediary - method_63994- Lnet/minecraft/class_10186;method_63994()Lnet/minecraft/class_10186$class_10187;- official - a- Lhgz;a()Lhgz$a;
 
- 
getLayers- Mappings:
- Namespace - Name - Mixin selector - named - getLayers- Lnet/minecraft/client/render/entity/equipment/EquipmentModel;getLayers(Lnet/minecraft/client/render/entity/equipment/EquipmentModel$LayerType;)Ljava/util/List;- intermediary - method_63996- Lnet/minecraft/class_10186;method_63996(Lnet/minecraft/class_10186$class_10190;)Ljava/util/List;- official - a- Lhgz;a(Lhgz$d;)Ljava/util/List;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
layersReturns the value of thelayersrecord component.- Returns:
- the value of the layersrecord component
 
 
-