Record Class UpgradeStatusTranslator.Messages
java.lang.Object
java.lang.Record
net.minecraft.util.worldupdate.UpgradeStatusTranslator.Messages
- Enclosing class:
UpgradeStatusTranslator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.finished()Returns the value of thefinishedrecord component.forStatus(UpgradeProgress.Status status) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of theupgradingrecord component.
-
Field Details
-
upgrading
The field for theupgradingrecord component. -
finished
The field for thefinishedrecord component.
-
-
Constructor Details
-
Messages
-
-
Method Details
-
create
-
forStatus
-
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). -
upgrading
Returns the value of theupgradingrecord component.- Returns:
- the value of the
upgradingrecord component
-
finished
Returns the value of thefinishedrecord component.- Returns:
- the value of the
finishedrecord component
-