Record Class SkinTextures

java.lang.Object
java.lang.Record
net.minecraft.entity.player.SkinTextures
Record Components:
body -
cape -
elytra -
model -
secure -

public record SkinTextures(AssetInfo.TextureAsset body, AssetInfo.TextureAsset cape, AssetInfo.TextureAsset elytra, PlayerSkinType model, boolean secure) extends Record
Mappings:
Namespace Name
named net/minecraft/entity/player/SkinTextures
intermediary net/minecraft/class_8685
official czp
named body
intermediary comp_1626
official a
named cape
intermediary comp_1627
official b
named elytra
intermediary comp_1628
official c
named model
intermediary comp_1629
official d
named secure
intermediary comp_1630
official e
  • Field Details

  • Constructor Details

  • Method Details

    • create

      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/player/SkinTextures;create(Lnet/minecraft/util/AssetInfo$TextureAsset;Lnet/minecraft/util/AssetInfo$TextureAsset;Lnet/minecraft/util/AssetInfo$TextureAsset;Lnet/minecraft/entity/player/PlayerSkinType;)Lnet/minecraft/entity/player/SkinTextures;
      intermediary method_74884 Lnet/minecraft/class_8685;method_74884(Lnet/minecraft/class_12079$class_12081;Lnet/minecraft/class_12079$class_12081;Lnet/minecraft/class_12079$class_12081;Lnet/minecraft/class_7920;)Lnet/minecraft/class_8685;
      official a Lczp;a(Ljb$c;Ljb$c;Ljb$c;Lczo;)Lczp;
    • withOverride

      public SkinTextures withOverride(SkinTextures.SkinOverride override)
      Mappings:
      Namespace Name Mixin selector
      named withOverride Lnet/minecraft/entity/player/SkinTextures;withOverride(Lnet/minecraft/entity/player/SkinTextures$SkinOverride;)Lnet/minecraft/entity/player/SkinTextures;
      intermediary method_74883 Lnet/minecraft/class_8685;method_74883(Lnet/minecraft/class_8685$class_11892;)Lnet/minecraft/class_8685;
      official a Lczp;a(Lczp$a;)Lczp;
    • 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.
    • body

      public AssetInfo.TextureAsset body()
      Returns the value of the body record component.
      Returns:
      the value of the body record component
    • cape

      Returns the value of the cape record component.
      Returns:
      the value of the cape record component
    • elytra

      Returns the value of the elytra record component.
      Returns:
      the value of the elytra record component
    • model

      public PlayerSkinType model()
      Returns the value of the model record component.
      Returns:
      the value of the model record component
    • secure

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