Package net.minecraft.client.util
Record Class SkinTextures
java.lang.Object
java.lang.Record
net.minecraft.client.util.SkinTextures
- Record Components:
texture
-textureUrl
-capeTexture
-elytraTexture
-model
-secure
-
@Environment(CLIENT)
public record SkinTextures(Identifier texture, @Nullable String textureUrl, @Nullable Identifier capeTexture, @Nullable Identifier elytraTexture, SkinTextures.Model model, boolean secure)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/util/SkinTextures
intermediary net/minecraft/class_8685
official gqa
named texture
intermediary comp_1626
official a
named textureUrl
intermediary comp_1911
official b
named capeTexture
intermediary comp_1627
official c
named elytraTexture
intermediary comp_1628
official d
named model
intermediary comp_1629
official e
named secure
intermediary comp_1630
official f
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable Identifier
The field for thecapeTexture
record component.private final @Nullable Identifier
The field for theelytraTexture
record component.private final SkinTextures.Model
The field for themodel
record component.private final boolean
The field for thesecure
record component.private final Identifier
The field for thetexture
record component.The field for thetextureUrl
record component. -
Constructor Summary
ConstructorDescriptionSkinTextures
(Identifier identifier, @Nullable String string, @Nullable Identifier identifier2, @Nullable Identifier identifier3, SkinTextures.Model model, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecapeTexture
record component.Returns the value of theelytraTexture
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.model()
Returns the value of themodel
record component.boolean
secure()
Returns the value of thesecure
record component.texture()
Returns the value of thetexture
record component.Returns the value of thetextureUrl
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
texture
The field for thetexture
record component. -
textureUrl
The field for thetextureUrl
record component. -
capeTexture
The field for thecapeTexture
record component. -
elytraTexture
The field for theelytraTexture
record component. -
model
The field for themodel
record component. -
secure
private final boolean secureThe field for thesecure
record component.
-
-
Constructor Details
-
SkinTextures
public SkinTextures(Identifier identifier, @Nullable @Nullable String string, @Nullable @Nullable Identifier identifier2, @Nullable @Nullable Identifier identifier3, SkinTextures.Model model, boolean bool)
-
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
texture
Returns the value of thetexture
record component.- Returns:
- the value of the
texture
record component
-
textureUrl
Returns the value of thetextureUrl
record component.- Returns:
- the value of the
textureUrl
record component
-
capeTexture
Returns the value of thecapeTexture
record component.- Returns:
- the value of the
capeTexture
record component
-
elytraTexture
Returns the value of theelytraTexture
record component.- Returns:
- the value of the
elytraTexture
record component
-
model
Returns the value of themodel
record component.- Returns:
- the value of the
model
record component
-
secure
public boolean secure()Returns the value of thesecure
record component.- Returns:
- the value of the
secure
record component
-