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$Data
intermediary net/minecraft/class_11533$class_11534
official hqr$a
named layer
intermediary comp_4406
official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RenderLayer
The field for thelayer
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.layer()
Returns the value of thelayer
record component.(package private) static PlayerHeadModelRenderer.Data
of
(SkinTextures textures) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
layer
The field for thelayer
record component.
-
-
Constructor Details
-
Data
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/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_72179
Lnet/minecraft/class_11533$class_11534;method_72179(Lnet/minecraft/class_8685;)Lnet/minecraft/class_11533$class_11534;
official a
Lhqr$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 thelayer
record component.- Returns:
- the value of the
layer
record component
-