Package net.minecraft.client.texture
Record Class PlayerSkinProvider.Textures
java.lang.Object
java.lang.Record
net.minecraft.client.texture.PlayerSkinProvider.Textures
- Record Components:
skin
-cape
-elytra
-secure
-
- Enclosing class:
PlayerSkinProvider
@Environment(CLIENT)
private static record PlayerSkinProvider.Textures(@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
- Mappings:
Namespace Name official gaf$c
intermediary net/minecraft/class_1071$class_8688
named net/minecraft/client/texture/PlayerSkinProvider$Textures
official b
intermediary comp_1632
named skin
official c
intermediary comp_1633
named cape
official d
intermediary comp_1634
named elytra
official e
intermediary comp_1635
named secure
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
The field for thecape
record component.private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
The field for theelytra
record component.static final PlayerSkinProvider.Textures
private final boolean
The field for thesecure
record component.private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
The field for theskin
record component. -
Constructor Summary
ModifierConstructorDescriptionprivate
Textures
(@Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture minecraftProfileTexture, @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture minecraftProfileTexture2, @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture minecraftProfileTexture3, boolean bool) -
Method Summary
Modifier and TypeMethodDescription@Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
cape()
Returns the value of thecape
record component.@Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
elytra()
Returns the value of theelytra
record component.final boolean
Indicates whether some other object is "equal to" this one.static PlayerSkinProvider.Textures
fromMap
(Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type, com.mojang.authlib.minecraft.MinecraftProfileTexture> textures, boolean secure) final int
hashCode()
Returns a hash code value for this object.boolean
secure()
Returns the value of thesecure
record component.@Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
skin()
Returns the value of theskin
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
skin
@Nullable private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture skinThe field for theskin
record component. -
cape
@Nullable private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture capeThe field for thecape
record component. -
elytra
@Nullable private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture elytraThe field for theelytra
record component. -
secure
private final boolean secureThe field for thesecure
record component. -
MISSING
- Mappings:
Namespace Name Mixin selector official a
Lgaf$c;a:Lgaf$c;
intermediary field_45643
Lnet/minecraft/class_1071$class_8688;field_45643:Lnet/minecraft/class_1071$class_8688;
named MISSING
Lnet/minecraft/client/texture/PlayerSkinProvider$Textures;MISSING:Lnet/minecraft/client/texture/PlayerSkinProvider$Textures;
-
-
Constructor Details
-
Textures
private Textures(@Nullable @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture minecraftProfileTexture, @Nullable @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture minecraftProfileTexture2, @Nullable @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture minecraftProfileTexture3, boolean bool)
-
-
Method Details
-
fromMap
public static PlayerSkinProvider.Textures fromMap(Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type, com.mojang.authlib.minecraft.MinecraftProfileTexture> textures, boolean secure) - Mappings:
Namespace Name Mixin selector official a
Lgaf$c;a(Ljava/util/Map;Z)Lgaf$c;
intermediary method_52874
Lnet/minecraft/class_1071$class_8688;method_52874(Ljava/util/Map;Z)Lnet/minecraft/class_1071$class_8688;
named fromMap
Lnet/minecraft/client/texture/PlayerSkinProvider$Textures;fromMap(Ljava/util/Map;Z)Lnet/minecraft/client/texture/PlayerSkinProvider$Textures;
-
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 @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture skin()Returns the value of theskin
record component.- Returns:
- the value of the
skin
record component
-
cape
@Nullable public @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture cape()Returns the value of thecape
record component.- Returns:
- the value of the
cape
record component
-
elytra
@Nullable public @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture elytra()Returns the value of theelytra
record component.- Returns:
- the value of the
elytra
record component
-
secure
public boolean secure()Returns the value of thesecure
record component.- Returns:
- the value of the
secure
record component
-