Record Class PlayerHeadModelRenderer.Data
java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.special.PlayerHeadModelRenderer.Data
- Record Components:
layer-
- Enclosing class:
PlayerHeadModelRenderer
@Environment(CLIENT)
public static record PlayerHeadModelRenderer.Data(RenderLayer layer)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/item/model/special/PlayerHeadModelRenderer$Dataintermediary net/minecraft/class_11533$class_11534official hqr$anamed layerintermediary comp_4406official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RenderLayerThe field for thelayerrecord 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.layer()Returns the value of thelayerrecord component.(package private) static PlayerHeadModelRenderer.Dataof(SkinTextures textures) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
layer
The field for thelayerrecord component.
-
-
Constructor Details
-
Data
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/client/render/item/model/special/PlayerHeadModelRenderer$Data;of(Lnet/minecraft/client/util/SkinTextures;)Lnet/minecraft/client/render/item/model/special/PlayerHeadModelRenderer$Data;intermediary method_72179Lnet/minecraft/class_11533$class_11534;method_72179(Lnet/minecraft/class_8685;)Lnet/minecraft/class_11533$class_11534;official aLhqr$a;a(Lhst;)Lhqr$a;
-
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). -
layer
Returns the value of thelayerrecord component.- Returns:
- the value of the
layerrecord component
-