Package net.minecraft.client.util
Record Class DefaultSkinHelper.Skin
java.lang.Object
java.lang.Record
net.minecraft.client.util.DefaultSkinHelper.Skin
- Record Components:
- texture-
- model-
- Enclosing class:
- DefaultSkinHelper
@Environment(CLIENT)
private static record DefaultSkinHelper.Skin(Identifier texture, DefaultSkinHelper.Model model)
extends Record
- Mappings:
- Namespace - Name - official - fvm$b- intermediary - net/minecraft/class_1068$class_7921- named - net/minecraft/client/util/DefaultSkinHelper$Skin- official - a- intermediary - comp_1154- named - texture- official - b- intermediary - comp_1155- named - model
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final DefaultSkinHelper.ModelThe field for themodelrecord component.private final IdentifierThe field for thetexturerecord component.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionSkin(String texture, DefaultSkinHelper.Model model) privateSkin(Identifier identifier, DefaultSkinHelper.Model model) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal 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.texture()Returns the value of thetexturerecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details- 
Skin- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfvm$b;<init>(Ljava/lang/String;Lfvm$a;)V- intermediary - <init>- Lnet/minecraft/class_1068$class_7921;<init>(Ljava/lang/String;Lnet/minecraft/class_1068$class_7920;)V- named - <init>- Lnet/minecraft/client/util/DefaultSkinHelper$Skin;<init>(Ljava/lang/String;Lnet/minecraft/client/util/DefaultSkinHelper$Model;)V
 
- 
Skin
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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. All components in this record class are compared withObjects::equals(Object,Object).
- 
textureReturns the value of thetexturerecord component.- Returns:
- the value of the texturerecord component
 
- 
modelReturns the value of themodelrecord component.- Returns:
- the value of the modelrecord component
 
 
-