2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_32 net/minecraft/world/level/storage/LevelStorage
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_17665 LOGGER Lorg/slf4j/Logger;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_17666 savesDirectory Ljava/nio/file/Path;
|
|
|
|
FIELD field_17667 backupsDirectory Ljava/nio/file/Path;
|
|
|
|
FIELD field_17668 dataFixer Lcom/mojang/datafixers/DataFixer;
|
|
|
|
FIELD field_200 TIME_FORMATTER Ljava/time/format/DateTimeFormatter;
|
2022-02-09 06:33:27 -05:00
|
|
|
FIELD field_36348 DATA_KEY Ljava/lang/String;
|
2023-05-30 00:31:46 -04:00
|
|
|
FIELD field_44950 ALLOWED_SYMLINKS_FILE_NAME Ljava/lang/String;
|
2023-08-02 13:18:08 -04:00
|
|
|
FIELD field_44951 DEFAULT_ALLOWED_SYMLINK_MATCHER Ljava/nio/file/PathMatcher;
|
2023-05-30 00:31:46 -04:00
|
|
|
FIELD field_44952 symlinkFinder Lnet/minecraft/class_8580;
|
2023-10-22 01:47:34 -04:00
|
|
|
FIELD field_46830 MAX_LEVEL_DATA_SIZE I
|
2023-05-29 10:59:52 -04:00
|
|
|
METHOD <init> (Ljava/nio/file/Path;Ljava/nio/file/Path;Lnet/minecraft/class_8580;Lcom/mojang/datafixers/DataFixer;)V
|
2019-02-11 14:19:43 -05:00
|
|
|
ARG 1 savesDirectory
|
|
|
|
ARG 2 backupsDirectory
|
2023-05-30 00:31:46 -04:00
|
|
|
ARG 3 symlinkFinder
|
|
|
|
ARG 4 dataFixer
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_17931 getCurrentVersion ()I
|
|
|
|
METHOD method_19636 getSavesDirectory ()Ljava/nio/file/Path;
|
|
|
|
METHOD method_230 levelExists (Ljava/lang/String;)Z
|
2019-02-11 14:19:43 -05:00
|
|
|
ARG 1 name
|
2022-04-20 13:31:04 -04:00
|
|
|
METHOD method_235 getLevelList ()Lnet/minecraft/class_32$class_7410;
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_236 getBackupsDirectory ()Ljava/nio/file/Path;
|
|
|
|
METHOD method_240 isLevelNameValid (Ljava/lang/String;)Z
|
2020-04-04 16:19:01 -04:00
|
|
|
ARG 1 name
|
|
|
|
METHOD method_26999 create (Ljava/nio/file/Path;)Lnet/minecraft/class_32;
|
|
|
|
ARG 0 path
|
2023-05-30 00:31:46 -04:00
|
|
|
METHOD method_27002 createSessionWithoutSymlinkCheck (Ljava/lang/String;)Lnet/minecraft/class_32$class_5143;
|
2020-04-04 16:19:01 -04:00
|
|
|
ARG 1 directoryName
|
2022-10-19 13:11:34 -04:00
|
|
|
METHOD method_29580 parseDataPackSettings (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_7712;
|
2022-02-09 06:33:27 -05:00
|
|
|
ARG 0 dynamic
|
2021-04-06 04:51:17 -04:00
|
|
|
METHOD method_35504 getFormatName ()Ljava/lang/String;
|
2022-04-20 13:31:04 -04:00
|
|
|
METHOD method_40035 loadCompactLevelData (Ljava/nio/file/Path;)Lnet/minecraft/class_2520;
|
2022-02-09 06:33:27 -05:00
|
|
|
COMMENT {@return the compact version of the NBT for the level data {@code file}}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>The returned NBT will not have {@code Player} and {@code WorldGenSettings} keys.
|
2022-04-25 18:25:17 -04:00
|
|
|
ARG 0 path
|
|
|
|
METHOD method_43417 loadSummaries (Lnet/minecraft/class_32$class_7410;)Ljava/util/concurrent/CompletableFuture;
|
|
|
|
ARG 1 levels
|
|
|
|
METHOD method_43419 (Lnet/minecraft/class_32$class_7411;)Z
|
|
|
|
ARG 0 levelSave
|
|
|
|
METHOD method_43420 (Ljava/nio/file/Path;)Z
|
|
|
|
ARG 0 path
|
|
|
|
METHOD method_43495 (Ljava/util/List;)Ljava/util/List;
|
|
|
|
ARG 0 summaries
|
2022-10-23 11:18:26 -04:00
|
|
|
METHOD method_45551 (Lnet/minecraft/class_2960;)V
|
|
|
|
ARG 0 id
|
|
|
|
METHOD method_45552 parseEnabledFeatures (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_7699;
|
|
|
|
ARG 0 levelData
|
|
|
|
METHOD method_45553 (Lcom/mojang/serialization/Dynamic;)Ljava/util/stream/Stream;
|
|
|
|
ARG 0 featureFlag
|
2023-05-30 00:31:46 -04:00
|
|
|
METHOD method_52235 createSymlinkFinder (Ljava/nio/file/Path;)Lnet/minecraft/class_8580;
|
|
|
|
ARG 0 allowedSymlinksFile
|
|
|
|
METHOD method_52236 createSession (Ljava/lang/String;)Lnet/minecraft/class_32$class_5143;
|
|
|
|
ARG 1 directoryName
|
|
|
|
METHOD method_52237 getSymlinkFinder ()Lnet/minecraft/class_8580;
|
|
|
|
METHOD method_52238 resolve (Ljava/lang/String;)Ljava/nio/file/Path;
|
|
|
|
ARG 1 name
|
2023-08-05 12:35:06 -04:00
|
|
|
METHOD method_52616 (Ljava/nio/file/Path;)Z
|
|
|
|
ARG 0 path
|
2023-10-22 01:47:34 -04:00
|
|
|
METHOD method_54522 parseDataPacks (Lcom/mojang/serialization/Dynamic;Lnet/minecraft/class_3283;Z)Lnet/minecraft/class_7237$class_7238;
|
|
|
|
ARG 0 dynamic
|
|
|
|
ARG 1 dataPackManager
|
|
|
|
ARG 2 safeMode
|
|
|
|
METHOD method_54523 parseSaveProperties (Lcom/mojang/serialization/Dynamic;Lnet/minecraft/class_7712;Lnet/minecraft/class_2378;Lnet/minecraft/class_5455$class_6890;)Lnet/minecraft/class_8895;
|
|
|
|
ARG 0 dynamic
|
|
|
|
ARG 1 dataConfiguration
|
|
|
|
ARG 2 dimensionsRegistry
|
|
|
|
ARG 3 registryManager
|
|
|
|
METHOD method_54524 parseSummary (Lcom/mojang/serialization/Dynamic;Lnet/minecraft/class_32$class_7411;Z)Lnet/minecraft/class_34;
|
|
|
|
ARG 1 dynamic
|
2023-10-20 10:01:19 -04:00
|
|
|
ARG 2 save
|
2023-10-22 01:47:34 -04:00
|
|
|
ARG 3 locked
|
2023-10-20 10:01:19 -04:00
|
|
|
METHOD method_54526 getLastModifiedTime (Lnet/minecraft/class_32$class_7411;)J
|
|
|
|
ARG 0 save
|
2023-10-22 01:47:34 -04:00
|
|
|
METHOD method_54527 readSummary (Lnet/minecraft/class_32$class_7411;Z)Lnet/minecraft/class_34;
|
2023-10-20 10:01:19 -04:00
|
|
|
ARG 1 save
|
2023-10-22 01:47:34 -04:00
|
|
|
ARG 2 locked
|
2023-10-20 10:01:19 -04:00
|
|
|
METHOD method_54528 readLevelProperties (Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;)Lcom/mojang/serialization/Dynamic;
|
|
|
|
ARG 0 path
|
|
|
|
ARG 1 dataFixer
|
|
|
|
METHOD method_54529 readLevelProperties (Ljava/nio/file/Path;)Lnet/minecraft/class_2487;
|
|
|
|
ARG 0 path
|
|
|
|
METHOD method_54530 getLastModifiedTime (Ljava/nio/file/Path;)Ljava/time/Instant;
|
|
|
|
ARG 0 path
|
2020-04-04 16:19:01 -04:00
|
|
|
CLASS class_5143 Session
|
|
|
|
FIELD field_23767 lock Lnet/minecraft/class_5125;
|
2022-04-20 13:31:04 -04:00
|
|
|
FIELD field_23768 directory Lnet/minecraft/class_32$class_7411;
|
2020-04-04 16:19:01 -04:00
|
|
|
FIELD field_23769 directoryName Ljava/lang/String;
|
2020-06-30 15:08:39 -04:00
|
|
|
FIELD field_24190 paths Ljava/util/Map;
|
2023-05-29 10:59:52 -04:00
|
|
|
METHOD <init> (Lnet/minecraft/class_32;Ljava/lang/String;Ljava/nio/file/Path;)V
|
2020-06-30 15:08:39 -04:00
|
|
|
ARG 2 directoryName
|
2023-05-30 00:31:46 -04:00
|
|
|
ARG 3 path
|
2020-04-04 16:19:01 -04:00
|
|
|
METHOD method_27005 getDirectoryName ()Ljava/lang/String;
|
|
|
|
METHOD method_27008 save (Ljava/lang/String;)V
|
|
|
|
ARG 1 name
|
2020-04-22 11:59:47 -04:00
|
|
|
METHOD method_27010 getDirectory (Lnet/minecraft/class_5218;)Ljava/nio/file/Path;
|
2020-06-30 15:08:39 -04:00
|
|
|
ARG 1 savePath
|
2023-10-18 11:42:03 -04:00
|
|
|
METHOD method_27013 readLevelProperties (Z)Lcom/mojang/serialization/Dynamic;
|
2023-10-20 10:01:19 -04:00
|
|
|
ARG 1 old
|
2021-07-01 12:21:19 -04:00
|
|
|
METHOD method_27014 getIconFile ()Ljava/util/Optional;
|
2020-04-04 16:19:01 -04:00
|
|
|
METHOD method_27015 deleteSessionLock ()V
|
|
|
|
METHOD method_27016 createBackup ()J
|
|
|
|
METHOD method_27017 checkValid ()V
|
2021-11-17 11:49:31 -05:00
|
|
|
METHOD method_27424 getWorldDirectory (Lnet/minecraft/class_5321;)Ljava/nio/file/Path;
|
2020-06-30 15:08:39 -04:00
|
|
|
ARG 1 key
|
2020-10-02 14:36:11 -04:00
|
|
|
METHOD method_27425 backupLevelDataFile (Lnet/minecraft/class_5455;Lnet/minecraft/class_5219;)V
|
2021-11-22 10:30:43 -05:00
|
|
|
ARG 1 registryManager
|
|
|
|
ARG 2 saveProperties
|
2020-10-02 14:36:11 -04:00
|
|
|
METHOD method_27426 backupLevelDataFile (Lnet/minecraft/class_5455;Lnet/minecraft/class_5219;Lnet/minecraft/class_2487;)V
|
2021-11-22 10:30:43 -05:00
|
|
|
ARG 1 registryManager
|
|
|
|
ARG 2 saveProperties
|
|
|
|
ARG 3 nbt
|
2020-10-02 14:36:11 -04:00
|
|
|
METHOD method_27427 createSaveHandler ()Lnet/minecraft/class_29;
|
2023-10-18 11:42:03 -04:00
|
|
|
METHOD method_29584 getLevelSummary (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_34;
|
2023-10-22 01:47:34 -04:00
|
|
|
ARG 1 dynamic
|
2023-08-05 12:35:06 -04:00
|
|
|
METHOD method_52617 getLevelStorage ()Lnet/minecraft/class_32;
|
2023-10-20 10:01:19 -04:00
|
|
|
METHOD method_54532 tryClose ()V
|
2023-10-22 01:47:34 -04:00
|
|
|
METHOD method_54534 (Ljava/lang/String;Lnet/minecraft/class_2487;)V
|
|
|
|
ARG 1 nbt
|
|
|
|
METHOD method_54537 save (Ljava/util/function/Consumer;)V
|
|
|
|
ARG 1 nbtProcessor
|
|
|
|
METHOD method_54538 save (Lnet/minecraft/class_2487;)V
|
|
|
|
ARG 1 nbt
|
|
|
|
METHOD method_54539 getLastModifiedTime (Z)Ljava/time/Instant;
|
2023-10-20 10:01:19 -04:00
|
|
|
ARG 1 old
|
2023-10-22 01:47:34 -04:00
|
|
|
METHOD method_54540 removePlayerAndSave (Ljava/lang/String;)V
|
|
|
|
ARG 1 name
|
|
|
|
METHOD method_54541 (Ljava/lang/String;Lnet/minecraft/class_2487;)V
|
|
|
|
ARG 1 nbt
|
2023-10-20 10:01:19 -04:00
|
|
|
METHOD method_54543 getDirectory ()Lnet/minecraft/class_32$class_7411;
|
|
|
|
METHOD method_54545 readLevelProperties ()Lcom/mojang/serialization/Dynamic;
|
|
|
|
METHOD method_54546 readOldLevelProperties ()Lcom/mojang/serialization/Dynamic;
|
2023-10-22 01:47:34 -04:00
|
|
|
METHOD method_54547 levelDatExists ()Z
|
|
|
|
METHOD method_54548 tryRestoreBackup ()Z
|
2022-02-09 06:33:27 -05:00
|
|
|
CLASS 1
|
|
|
|
METHOD postVisitDirectory (Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
|
|
|
|
ARG 1 path
|
|
|
|
ARG 2 exception
|
|
|
|
METHOD visitFile (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
|
|
|
|
ARG 1 path
|
|
|
|
ARG 2 attributes
|
|
|
|
CLASS 2
|
|
|
|
METHOD visitFile (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
|
|
|
|
ARG 1 path
|
|
|
|
ARG 2 attributes
|
2022-04-25 18:25:17 -04:00
|
|
|
CLASS class_7410 LevelList
|
|
|
|
METHOD method_43421 isEmpty ()Z
|
|
|
|
CLASS class_7411 LevelSave
|
|
|
|
METHOD method_43422 getRootPath ()Ljava/lang/String;
|
|
|
|
METHOD method_43423 getPath (Lnet/minecraft/class_5218;)Ljava/nio/file/Path;
|
|
|
|
ARG 1 savePath
|
|
|
|
METHOD method_43424 getCorruptedLevelDatPath (Ljava/time/LocalDateTime;)Ljava/nio/file/Path;
|
|
|
|
ARG 1 dateTime
|
|
|
|
METHOD method_43425 getLevelDatPath ()Ljava/nio/file/Path;
|
|
|
|
METHOD method_43426 getLevelDatOldPath ()Ljava/nio/file/Path;
|
|
|
|
METHOD method_43427 getIconPath ()Ljava/nio/file/Path;
|
|
|
|
METHOD method_43428 getSessionLockPath ()Ljava/nio/file/Path;
|
2023-10-22 01:47:34 -04:00
|
|
|
METHOD method_54531 getRawLevelDatPath (Ljava/time/LocalDateTime;)Ljava/nio/file/Path;
|
|
|
|
ARG 1 dateTime
|