Package net.minecraft.client.util
Record Class SkinTextures
java.lang.Object
java.lang.Record
net.minecraft.client.util.SkinTextures
- Record Components:
body-cape-elytra-model-secure-
public record SkinTextures(ClientAssets.TextureAsset body, ClientAssets.TextureAsset cape, ClientAssets.TextureAsset elytra, PlayerSkinType model, boolean secure)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/util/SkinTexturesintermediary net/minecraft/class_8685official czqnamed 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 ClientAssets.TextureAssetThe field for thebodyrecord component.private final ClientAssets.TextureAssetThe field for thecaperecord component.private final ClientAssets.TextureAssetThe field for theelytrarecord component.private final PlayerSkinTypeThe field for themodelrecord component.private final booleanThe field for thesecurerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSkinTextures(ClientAssets.TextureAsset textureAsset, ClientAssets.TextureAsset textureAsset2, ClientAssets.TextureAsset textureAsset3, PlayerSkinType playerSkinType, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.cape()Returns the value of thecaperecord component.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.method_74883(SkinTextures.MannequinInfo mannequinInfo) static SkinTexturesmethod_74884(ClientAssets.TextureAsset textureAsset, ClientAssets.TextureAsset textureAsset2, ClientAssets.TextureAsset textureAsset3, PlayerSkinType playerSkinType) model()Returns the value of themodelrecord component.booleansecure()Returns the value of thesecurerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
SkinTextures
public SkinTextures(ClientAssets.TextureAsset textureAsset, @Nullable ClientAssets.TextureAsset textureAsset2, @Nullable ClientAssets.TextureAsset textureAsset3, PlayerSkinType playerSkinType, boolean bool)
-
-
Method Details
-
method_74884
public static SkinTextures method_74884(ClientAssets.TextureAsset textureAsset, @Nullable ClientAssets.TextureAsset textureAsset2, @Nullable ClientAssets.TextureAsset textureAsset3, PlayerSkinType playerSkinType) - Mappings:
Namespace Name Mixin selector named method_74884Lnet/minecraft/client/util/SkinTextures;method_74884(Lnet/minecraft/client/ClientAssets$TextureAsset;Lnet/minecraft/client/ClientAssets$TextureAsset;Lnet/minecraft/client/ClientAssets$TextureAsset;Lnet/minecraft/entity/player/PlayerSkinType;)Lnet/minecraft/client/util/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 aLczq;a(Ljb$c;Ljb$c;Ljb$c;Lczp;)Lczq;
-
method_74883
- Mappings:
Namespace Name Mixin selector named method_74883Lnet/minecraft/client/util/SkinTextures;method_74883(Lnet/minecraft/client/util/SkinTextures$MannequinInfo;)Lnet/minecraft/client/util/SkinTextures;intermediary method_74883Lnet/minecraft/class_8685;method_74883(Lnet/minecraft/class_8685$class_11892;)Lnet/minecraft/class_8685;official aLczq;a(Lczq$a;)Lczq;
-
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
-