Record Class LevelStorage.LevelSave
java.lang.Object
java.lang.Record
net.minecraft.world.level.storage.LevelStorage.LevelSave
- Record Components:
path-
- Enclosing class:
LevelStorage
- Mappings:
Namespace Name named net/minecraft/world/level/storage/LevelStorage$LevelSaveintermediary net/minecraft/class_32$class_7411official erf$bnamed pathintermediary comp_732official a
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getCorruptedLevelDatPath(LocalDateTime dateTime) getPath(WorldSavePath savePath) getRawLevelDatPath(LocalDateTime dateTime) final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
path
The field for thepathrecord component.
-
-
Constructor Details
-
LevelSave
Creates an instance of aLevelSaverecord class.- Parameters:
path- the value for thepathrecord component
-
-
Method Details
-
getRootPath
- Mappings:
Namespace Name Mixin selector named getRootPathLnet/minecraft/world/level/storage/LevelStorage$LevelSave;getRootPath()Ljava/lang/String;intermediary method_43422Lnet/minecraft/class_32$class_7411;method_43422()Ljava/lang/String;official aLerf$b;a()Ljava/lang/String;
-
getLevelDatPath
- Mappings:
Namespace Name Mixin selector named getLevelDatPathLnet/minecraft/world/level/storage/LevelStorage$LevelSave;getLevelDatPath()Ljava/nio/file/Path;intermediary method_43425Lnet/minecraft/class_32$class_7411;method_43425()Ljava/nio/file/Path;official bLerf$b;b()Ljava/nio/file/Path;
-
getLevelDatOldPath
- Mappings:
Namespace Name Mixin selector named getLevelDatOldPathLnet/minecraft/world/level/storage/LevelStorage$LevelSave;getLevelDatOldPath()Ljava/nio/file/Path;intermediary method_43426Lnet/minecraft/class_32$class_7411;method_43426()Ljava/nio/file/Path;official cLerf$b;c()Ljava/nio/file/Path;
-
getCorruptedLevelDatPath
- Mappings:
Namespace Name Mixin selector named getCorruptedLevelDatPathLnet/minecraft/world/level/storage/LevelStorage$LevelSave;getCorruptedLevelDatPath(Ljava/time/LocalDateTime;)Ljava/nio/file/Path;intermediary method_43424Lnet/minecraft/class_32$class_7411;method_43424(Ljava/time/LocalDateTime;)Ljava/nio/file/Path;official aLerf$b;a(Ljava/time/LocalDateTime;)Ljava/nio/file/Path;
-
getRawLevelDatPath
- Mappings:
Namespace Name Mixin selector named getRawLevelDatPathLnet/minecraft/world/level/storage/LevelStorage$LevelSave;getRawLevelDatPath(Ljava/time/LocalDateTime;)Ljava/nio/file/Path;intermediary method_54531Lnet/minecraft/class_32$class_7411;method_54531(Ljava/time/LocalDateTime;)Ljava/nio/file/Path;official bLerf$b;b(Ljava/time/LocalDateTime;)Ljava/nio/file/Path;
-
getIconPath
- Mappings:
Namespace Name Mixin selector named getIconPathLnet/minecraft/world/level/storage/LevelStorage$LevelSave;getIconPath()Ljava/nio/file/Path;intermediary method_43427Lnet/minecraft/class_32$class_7411;method_43427()Ljava/nio/file/Path;official dLerf$b;d()Ljava/nio/file/Path;
-
getSessionLockPath
- Mappings:
Namespace Name Mixin selector named getSessionLockPathLnet/minecraft/world/level/storage/LevelStorage$LevelSave;getSessionLockPath()Ljava/nio/file/Path;intermediary method_43428Lnet/minecraft/class_32$class_7411;method_43428()Ljava/nio/file/Path;official eLerf$b;e()Ljava/nio/file/Path;
-
getPath
- Mappings:
Namespace Name Mixin selector named getPathLnet/minecraft/world/level/storage/LevelStorage$LevelSave;getPath(Lnet/minecraft/util/WorldSavePath;)Ljava/nio/file/Path;intermediary method_43423Lnet/minecraft/class_32$class_7411;method_43423(Lnet/minecraft/class_5218;)Ljava/nio/file/Path;official aLerf$b;a(Lerd;)Ljava/nio/file/Path;
-
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). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-