Package net.minecraft
Record Class class_10197.class_10199
java.lang.Object
java.lang.Record
net.minecraft.class_10197.class_10199
- Record Components:
trim-layerType-equipmentModelId-
- Enclosing class:
class_10197
@Environment(CLIENT)
private static record class_10197.class_10199(ArmorTrim trim, class_10186.class_10190 layerType, Identifier equipmentModelId)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10197$class_10199intermediary net/minecraft/class_10197$class_10199official grx$bnamed trimintermediary comp_3199official anamed layerTypeintermediary comp_3200official bnamed equipmentModelIdintermediary comp_3201official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IdentifierThe field for theequipmentModelIdrecord component.private final class_10186.class_10190The field for thelayerTyperecord component.private final ArmorTrimThe field for thetrimrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10199(ArmorTrim armorTrim, class_10186.class_10190 class_10190, Identifier identifier) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theequipmentModelIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelayerTyperecord component.final StringtoString()Returns a string representation of this record class.trim()Returns the value of thetrimrecord component.
-
Field Details
-
trim
The field for thetrimrecord component. -
layerType
The field for thelayerTyperecord component. -
equipmentModelId
The field for theequipmentModelIdrecord component.
-
-
Constructor Details
-
class_10199
class_10199(ArmorTrim armorTrim, class_10186.class_10190 class_10190, Identifier identifier)
-
-
Method Details
-
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). -
trim
Returns the value of thetrimrecord component.- Returns:
- the value of the
trimrecord component
-
layerType
Returns the value of thelayerTyperecord component.- Returns:
- the value of the
layerTyperecord component
-
equipmentModelId
Returns the value of theequipmentModelIdrecord component.- Returns:
- the value of the
equipmentModelIdrecord component
-