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

    Fields
    Modifier and Type
    Field
    Description
    private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
    The field for the cape record component.
    private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
    The field for the elytra record component.
     
    private final boolean
    The field for the secure record component.
    private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
    The field for the skin record component.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    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 Type
    Method
    Description
    @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
    Returns the value of the cape record component.
    @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
    Returns the value of the elytra record component.
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    fromMap(Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture> textures, boolean secure)
     
    final int
    Returns a hash code value for this object.
    boolean
    Returns the value of the secure record component.
    @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture
    Returns the value of the skin record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • skin

      @Nullable private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture skin
      The field for the skin record component.
    • cape

      @Nullable private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture cape
      The field for the cape record component.
    • elytra

      @Nullable private final @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture elytra
      The field for the elytra record component.
    • secure

      private final boolean secure
      The field for the secure record component.
    • MISSING

      public static final PlayerSkinProvider.Textures 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

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • skin

      @Nullable public @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture skin()
      Returns the value of the skin record component.
      Returns:
      the value of the skin record component
    • cape

      @Nullable public @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture cape()
      Returns the value of the cape record component.
      Returns:
      the value of the cape record component
    • elytra

      @Nullable public @Nullable com.mojang.authlib.minecraft.MinecraftProfileTexture elytra()
      Returns the value of the elytra record component.
      Returns:
      the value of the elytra record component
    • secure

      public boolean secure()
      Returns the value of the secure record component.
      Returns:
      the value of the secure record component