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 fzh$cintermediary net/minecraft/class_1071$class_8688named net/minecraft/client/texture/PlayerSkinProvider$Texturesofficial bintermediary comp_1632named skinofficial cintermediary comp_1633named capeofficial dintermediary comp_1634named elytraofficial eintermediary comp_1635named secure
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTextureThe field for thecaperecord component.private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTextureThe field for theelytrarecord component.static final PlayerSkinProvider.Texturesprivate final booleanThe field for thesecurerecord component.private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTextureThe field for theskinrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTextures(@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.MinecraftProfileTexturecape()Returns the value of thecaperecord component.@Nullable com.mojang.authlib.minecraft.MinecraftProfileTextureelytra()Returns the value of theelytrarecord component.final booleanIndicates whether some other object is "equal to" this one.static PlayerSkinProvider.TexturesfromMap(Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type, com.mojang.authlib.minecraft.MinecraftProfileTexture> textures, boolean secure) final inthashCode()Returns a hash code value for this object.booleansecure()Returns the value of thesecurerecord component.@Nullable com.mojang.authlib.minecraft.MinecraftProfileTextureskin()Returns the value of theskinrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
skin
The field for theskinrecord component. -
cape
The field for thecaperecord component. -
elytra
The field for theelytrarecord component. -
secure
private final boolean secureThe field for thesecurerecord component. -
MISSING
- Mappings:
Namespace Name Mixin selector official aLfzh$c;a:Lfzh$c;intermediary field_45643Lnet/minecraft/class_1071$class_8688;field_45643:Lnet/minecraft/class_1071$class_8688;named MISSINGLnet/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 aLfzh$c;a(Ljava/util/Map;Z)Lfzh$c;intermediary method_52874Lnet/minecraft/class_1071$class_8688;method_52874(Ljava/util/Map;Z)Lnet/minecraft/class_1071$class_8688;named fromMapLnet/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
Returns the value of theskinrecord component.- Returns:
- the value of the
skinrecord component
-
cape
Returns the value of thecaperecord component.- Returns:
- the value of the
caperecord component
-
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
-