Record Class AxolotlRenderer.AxolotlTextures
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.entity.AxolotlRenderer.AxolotlTextures
- Enclosing class:
AxolotlRenderer
private static record AxolotlRenderer.AxolotlTextures(Identifier adult, Identifier baby)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IdentifierThe field for theadultrecord component.private final IdentifierThe field for thebabyrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAxolotlTextures(Identifier adult, Identifier baby) Creates an instance of aAxolotlTexturesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionadult()Returns the value of theadultrecord component.baby()Returns the value of thebabyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
adult
The field for theadultrecord component. -
baby
The field for thebabyrecord component.
-
-
Constructor Details
-
AxolotlTextures
Creates an instance of aAxolotlTexturesrecord class.- Parameters:
adult- the value for theadultrecord componentbaby- the value for thebabyrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
adult
Returns the value of theadultrecord component.- Returns:
- the value of the
adultrecord component
-
baby
Returns the value of thebabyrecord component.- Returns:
- the value of the
babyrecord component
-