Record Class SignRenderer.Models
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.blockentity.SignRenderer.Models
- Enclosing class:
SignRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Model.SimpleThe field for thestandingrecord component.private final Model.SimpleThe field for thewallrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateModels(Model.Simple standing, Model.Simple wall) Creates an instance of aModelsrecord class. -
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.standing()Returns the value of thestandingrecord component.final StringtoString()Returns a string representation of this record class.wall()Returns the value of thewallrecord component.
-
Field Details
-
standing
The field for thestandingrecord component. -
wall
The field for thewallrecord component.
-
-
Constructor Details
-
Models
Creates an instance of aModelsrecord class.- Parameters:
standing- the value for thestandingrecord componentwall- the value for thewallrecord 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). -
standing
Returns the value of thestandingrecord component.- Returns:
- the value of the
standingrecord component
-
wall
Returns the value of thewallrecord component.- Returns:
- the value of the
wallrecord component
-