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 - hfv- 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 SummaryNested Classes
- 
Field SummaryFieldsModifier 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 SummaryConstructorsConstructorDescriptionSkinTextures(Identifier identifier, @Nullable String string, @Nullable Identifier identifier2, @Nullable Identifier identifier3, SkinTextures.Model model, boolean bool) 
- 
Method SummaryModifier 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- 
textureThe field for thetexturerecord component.
- 
textureUrlThe field for thetextureUrlrecord component.
- 
capeTextureThe field for thecapeTexturerecord component.
- 
elytraTextureThe field for theelytraTexturerecord component.
- 
modelThe field for themodelrecord component.
- 
secureprivate final boolean secureThe field for thesecurerecord component.
 
- 
- 
Constructor Details- 
SkinTexturespublic SkinTextures(Identifier identifier, @Nullable @Nullable String string, @Nullable @Nullable Identifier identifier2, @Nullable @Nullable Identifier identifier3, SkinTextures.Model model, boolean bool) 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
textureReturns the value of thetexturerecord component.- Returns:
- the value of the texturerecord component
 
- 
textureUrlReturns the value of thetextureUrlrecord component.- Returns:
- the value of the textureUrlrecord component
 
- 
capeTextureReturns the value of thecapeTexturerecord component.- Returns:
- the value of the capeTexturerecord component
 
- 
elytraTextureReturns the value of theelytraTexturerecord component.- Returns:
- the value of the elytraTexturerecord component
 
- 
modelReturns the value of themodelrecord component.- Returns:
- the value of the modelrecord component
 
- 
securepublic boolean secure()Returns the value of thesecurerecord component.- Returns:
- the value of the securerecord component
 
 
-