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/SkinTexturesintermediary net/minecraft/class_8685official grlnamed textureintermediary comp_1626official anamed textureUrlintermediary comp_1911official bnamed capeTextureintermediary comp_1627official cnamed elytraTextureintermediary comp_1628official dnamed modelintermediary comp_1629official enamed secureintermediary comp_1630official f
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable IdentifierThe field for thecapeTexturerecord component.private final @Nullable IdentifierThe field for theelytraTexturerecord component.private final SkinTextures.ModelThe field for themodelrecord component.private final booleanThe field for thesecurerecord component.private final IdentifierThe field for thetexturerecord component.The field for thetextureUrlrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSkinTextures(Identifier identifier, @Nullable String string, @Nullable Identifier identifier2, @Nullable Identifier identifier3, SkinTextures.Model model, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecapeTexturerecord component.Returns the value of theelytraTexturerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.booleansecure()Returns the value of thesecurerecord component.texture()Returns the value of thetexturerecord component.Returns the value of thetextureUrlrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
texture
The field for thetexturerecord component. -
textureUrl
The field for thetextureUrlrecord component. -
capeTexture
The field for thecapeTexturerecord component. -
elytraTexture
The field for theelytraTexturerecord component. -
model
The field for themodelrecord component. -
secure
private final boolean secureThe field for thesecurerecord 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 thetexturerecord component.- Returns:
- the value of the
texturerecord component
-
textureUrl
Returns the value of thetextureUrlrecord component.- Returns:
- the value of the
textureUrlrecord component
-
capeTexture
Returns the value of thecapeTexturerecord component.- Returns:
- the value of the
capeTexturerecord component
-
elytraTexture
Returns the value of theelytraTexturerecord component.- Returns:
- the value of the
elytraTexturerecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
secure
public boolean secure()Returns the value of thesecurerecord component.- Returns:
- the value of the
securerecord component
-