Record Class FileFixerUpper.UpgradeInProgress
java.lang.Object
java.lang.Record
net.minecraft.util.filefix.FileFixerUpper.UpgradeInProgress
- Enclosing class:
FileFixerUpper
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUpgradeInProgress(List<FileMove> moves) Creates an instance of aUpgradeInProgressrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<FileFixerUpper.UpgradeInProgress> final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.moves()Returns the value of themovesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
moves
-
-
Constructor Details
-
UpgradeInProgress
-
-
Method Details
-
codec
public static com.mojang.serialization.Codec<FileFixerUpper.UpgradeInProgress> codec(Path fromDirectory, Path toDirectory) -
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). -
moves
-