Package net.minecraft.client.util
Record Class SkinTextures
java.lang.Object
java.lang.Record
net.minecraft.client.util.SkinTextures
- Record Components:
texture-capeTexture-elytraTexture-model-secure-
@Environment(CLIENT)
public record SkinTextures(Identifier texture, @Nullable Identifier capeTexture, @Nullable Identifier elytraTexture, SkinTextures.Model model, boolean secure)
extends Record
- Mappings:
Namespace Name official fzgintermediary net/minecraft/class_8685named net/minecraft/client/util/SkinTexturesofficial aintermediary comp_1626named textureofficial bintermediary comp_1627named capeTextureofficial cintermediary comp_1628named elytraTextureofficial dintermediary comp_1629named modelofficial eintermediary comp_1630named secure
-
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. -
Constructor Summary
ConstructorsConstructorDescriptionSkinTextures(Identifier identifier, @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.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
texture
The field for thetexturerecord 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 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
-
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
-