Record Class SignBlockEntityRenderer.SignModelPair
java.lang.Object
java.lang.Record
net.minecraft.client.render.block.entity.SignBlockEntityRenderer.SignModelPair
- Record Components:
standing-wall-
- Enclosing class:
SignBlockEntityRenderer
@Environment(CLIENT)
private static record SignBlockEntityRenderer.SignModelPair(Model.SinglePartModel standing, Model.SinglePartModel wall)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/block/entity/SignBlockEntityRenderer$SignModelPairintermediary net/minecraft/class_837$class_9985official hjj$anamed standingintermediary comp_3055official anamed wallintermediary comp_3056official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Model.SinglePartModelThe field for thestandingrecord component.private final Model.SinglePartModelThe field for thewallrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSignModelPair(Model.SinglePartModel singlePartModel, Model.SinglePartModel singlePartModel2) -
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
-
Constructor Details
-
SignModelPair
SignModelPair(Model.SinglePartModel singlePartModel, Model.SinglePartModel singlePartModel2)
-
-
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). -
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
-