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 fvb$bintermediary net/minecraft/class_1068$class_7921named net/minecraft/client/util/DefaultSkinHelper$Skinofficial aintermediary comp_1154named textureofficial bintermediary comp_1155named model
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DefaultSkinHelper.ModelThe field for themodelrecord component.private final IdentifierThe field for thetexturerecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionSkin(String texture, DefaultSkinHelper.Model model) privateSkin(Identifier identifier, DefaultSkinHelper.Model model) -
Method Summary
Modifier 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>Lfvb$b;<init>(Ljava/lang/String;Lfvb$a;)Vintermediary <init>Lnet/minecraft/class_1068$class_7921;<init>(Ljava/lang/String;Lnet/minecraft/class_1068$class_7920;)Vnamed <init>Lnet/minecraft/client/util/DefaultSkinHelper$Skin;<init>(Ljava/lang/String;Lnet/minecraft/client/util/DefaultSkinHelper$Model;)V
-
Skin
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
texture
Returns the value of thetexturerecord component.- Returns:
- the value of the
texturerecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-