Package net.minecraft.client.resources
Record Class SkinManager.TextureInfo
java.lang.Object
java.lang.Record
net.minecraft.client.resources.SkinManager.TextureInfo
- Enclosing class:
 - SkinManager
 
static record SkinManager.TextureInfo(@Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture skin, @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture cape, @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture elytra, boolean secure)
extends Record
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.mojang.authlib.minecraft.MinecraftProfileTextureThe field for thecaperecord component.private final com.mojang.authlib.minecraft.MinecraftProfileTextureThe field for theelytrarecord component.static final SkinManager.TextureInfoprivate final booleanThe field for thesecurerecord component.private final com.mojang.authlib.minecraft.MinecraftProfileTextureThe field for theskinrecord component. - 
Constructor Summary
ConstructorsConstructorDescriptionTextureInfo(com.mojang.authlib.minecraft.MinecraftProfileTexture skin, com.mojang.authlib.minecraft.MinecraftProfileTexture cape, com.mojang.authlib.minecraft.MinecraftProfileTexture elytra, boolean secure) Creates an instance of aTextureInforecord class. - 
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.authlib.minecraft.MinecraftProfileTexturecape()Returns the value of thecaperecord component.com.mojang.authlib.minecraft.MinecraftProfileTextureelytra()Returns the value of theelytrarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleansecure()Returns the value of thesecurerecord component.com.mojang.authlib.minecraft.MinecraftProfileTextureskin()Returns the value of theskinrecord component.final StringtoString()Returns a string representation of this record class.static SkinManager.TextureInfounpack(Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type, com.mojang.authlib.minecraft.MinecraftProfileTexture> p_297479_, boolean p_297713_)  
- 
Field Details
- 
skin
@Nullable private final com.mojang.authlib.minecraft.MinecraftProfileTexture skinThe field for theskinrecord component. - 
cape
@Nullable private final com.mojang.authlib.minecraft.MinecraftProfileTexture capeThe field for thecaperecord component. - 
elytra
@Nullable private final com.mojang.authlib.minecraft.MinecraftProfileTexture elytraThe field for theelytrarecord component. - 
secure
private final boolean secureThe field for thesecurerecord component. - 
EMPTY
 
 - 
 - 
Constructor Details
- 
TextureInfo
TextureInfo(@Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture skin, @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture cape, @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture elytra, boolean secure) Creates an instance of aTextureInforecord class.- Parameters:
 skin- the value for theskinrecord componentcape- the value for thecaperecord componentelytra- the value for theelytrarecord componentsecure- the value for thesecurerecord component
 
 - 
 - 
Method Details
- 
unpack
public static SkinManager.TextureInfo unpack(Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type, com.mojang.authlib.minecraft.MinecraftProfileTexture> p_297479_, boolean p_297713_)  - 
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 '=='. - 
skin
@Nullable public com.mojang.authlib.minecraft.MinecraftProfileTexture skin()Returns the value of theskinrecord component.- Returns:
 - the value of the 
skinrecord component 
 - 
cape
@Nullable public com.mojang.authlib.minecraft.MinecraftProfileTexture cape()Returns the value of thecaperecord component.- Returns:
 - the value of the 
caperecord component 
 - 
elytra
@Nullable public com.mojang.authlib.minecraft.MinecraftProfileTexture elytra()Returns the value of theelytrarecord component.- Returns:
 - the value of the 
elytrarecord component 
 - 
secure
public boolean secure()Returns the value of thesecurerecord component.- Returns:
 - the value of the 
securerecord component 
 
 -