Package net.minecraft.entity.player
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/SkinTexturesintermediary net/minecraft/class_8685official czpnamed bodyintermediary comp_1626official anamed capeintermediary comp_1627official bnamed elytraintermediary comp_1628official cnamed modelintermediary comp_1629official dnamed secureintermediary comp_1630official e
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AssetInfo.TextureAssetThe field for thebodyrecord component.private final AssetInfo.TextureAssetThe field for thecaperecord component.private final AssetInfo.TextureAssetThe field for theelytrarecord component.private final PlayerSkinTypeThe field for themodelrecord component.private final booleanThe field for thesecurerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSkinTextures(AssetInfo.TextureAsset textureAsset, AssetInfo.TextureAsset textureAsset2, AssetInfo.TextureAsset textureAsset3, PlayerSkinType playerSkinType, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.cape()Returns the value of thecaperecord component.static SkinTexturescreate(AssetInfo.TextureAsset body, AssetInfo.TextureAsset cape, AssetInfo.TextureAsset elytra, PlayerSkinType model) elytra()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.model()Returns the value of themodelrecord component.booleansecure()Returns the value of thesecurerecord component.final StringtoString()Returns a string representation of this record class.withOverride(SkinTextures.SkinOverride override)
-
Field Details
-
Constructor Details
-
SkinTextures
public SkinTextures(AssetInfo.TextureAsset textureAsset, @Nullable AssetInfo.TextureAsset textureAsset2, @Nullable AssetInfo.TextureAsset textureAsset3, PlayerSkinType playerSkinType, boolean bool)
-
-
Method Details
-
create
public static SkinTextures create(AssetInfo.TextureAsset body, @Nullable AssetInfo.TextureAsset cape, @Nullable AssetInfo.TextureAsset elytra, PlayerSkinType model) - Mappings:
Namespace Name Mixin selector named createLnet/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_74884Lnet/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 aLczp;a(Ljb$c;Ljb$c;Ljb$c;Lczo;)Lczp;
-
withOverride
- Mappings:
Namespace Name Mixin selector named withOverrideLnet/minecraft/entity/player/SkinTextures;withOverride(Lnet/minecraft/entity/player/SkinTextures$SkinOverride;)Lnet/minecraft/entity/player/SkinTextures;intermediary method_74883Lnet/minecraft/class_8685;method_74883(Lnet/minecraft/class_8685$class_11892;)Lnet/minecraft/class_8685;official aLczp;a(Lczp$a;)Lczp;
-
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 '=='. -
body
Returns the value of thebodyrecord component.- Returns:
- the value of the
bodyrecord 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
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
secure
public boolean secure()Returns the value of thesecurerecord component.- Returns:
- the value of the
securerecord component
-