Package net.minecraft.client.util
Record Class DefaultSkinHelper.class_7921
java.lang.Object
java.lang.Record
net.minecraft.client.util.DefaultSkinHelper.class_7921
- Record Components:
texture-model-
- Enclosing class:
DefaultSkinHelper
@Environment(CLIENT)
private static record DefaultSkinHelper.class_7921(Identifier texture, DefaultSkinHelper.class_7920 model)
extends Record
- Mappings:
Namespace Name official fny$bintermediary net/minecraft/class_1068$class_7921named net/minecraft/client/util/DefaultSkinHelper$class_7921official aintermediary comp_1154named textureofficial bintermediary comp_1155named model
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DefaultSkinHelper.class_7920The field for themodelrecord component.private final IdentifierThe field for thetexturerecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionclass_7921(String string, DefaultSkinHelper.class_7920 class_7920) privateclass_7921(Identifier identifier, DefaultSkinHelper.class_7920 class_7920) -
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
-
class_7921
-
class_7921
-
-
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
-