Package net.minecraft.world
Class WorldSaveHandler
java.lang.Object
net.minecraft.world.WorldSaveHandler
- Mappings:
Namespace Name named net/minecraft/world/WorldSaveHandler
intermediary net/minecraft/class_29
official eqb
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.mojang.datafixers.DataFixer
private static final DateTimeFormatter
private static final Logger
private final File
-
Constructor Summary
ConstructorDescriptionWorldSaveHandler
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
backupCorruptedPlayerData
(PlayerEntity player, String extension) loadPlayerData
(PlayerEntity player) private Optional
<NbtCompound> loadPlayerData
(PlayerEntity player, String extension) void
savePlayerData
(PlayerEntity player)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/world/WorldSaveHandler;LOGGER:Lorg/slf4j/Logger;
intermediary field_149
Lnet/minecraft/class_29;field_149:Lorg/slf4j/Logger;
official b
Leqb;b:Lorg/slf4j/Logger;
-
DATE_TIME_FORMATTER
- Mappings:
Namespace Name Mixin selector named DATE_TIME_FORMATTER
Lnet/minecraft/world/WorldSaveHandler;DATE_TIME_FORMATTER:Ljava/time/format/DateTimeFormatter;
intermediary field_47840
Lnet/minecraft/class_29;field_47840:Ljava/time/format/DateTimeFormatter;
official d
Leqb;d:Ljava/time/format/DateTimeFormatter;
-
playerDataDir
- Mappings:
Namespace Name Mixin selector named playerDataDir
Lnet/minecraft/world/WorldSaveHandler;playerDataDir:Ljava/io/File;
intermediary field_144
Lnet/minecraft/class_29;field_144:Ljava/io/File;
official c
Leqb;c:Ljava/io/File;
-
dataFixer
protected final com.mojang.datafixers.DataFixer dataFixer- Mappings:
Namespace Name Mixin selector named dataFixer
Lnet/minecraft/world/WorldSaveHandler;dataFixer:Lcom/mojang/datafixers/DataFixer;
intermediary field_148
Lnet/minecraft/class_29;field_148:Lcom/mojang/datafixers/DataFixer;
official a
Leqb;a:Lcom/mojang/datafixers/DataFixer;
-
-
Constructor Details
-
WorldSaveHandler
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/WorldSaveHandler;<init>(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lcom/mojang/datafixers/DataFixer;)V
intermediary <init>
Lnet/minecraft/class_29;<init>(Lnet/minecraft/class_32$class_5143;Lcom/mojang/datafixers/DataFixer;)V
official <init>
Leqb;<init>(Lepy$c;Lcom/mojang/datafixers/DataFixer;)V
-
-
Method Details
-
savePlayerData
- Mappings:
Namespace Name Mixin selector named savePlayerData
Lnet/minecraft/world/WorldSaveHandler;savePlayerData(Lnet/minecraft/entity/player/PlayerEntity;)V
intermediary method_262
Lnet/minecraft/class_29;method_262(Lnet/minecraft/class_1657;)V
official a
Leqb;a(Lcmz;)V
-
backupCorruptedPlayerData
- Mappings:
Namespace Name Mixin selector named backupCorruptedPlayerData
Lnet/minecraft/world/WorldSaveHandler;backupCorruptedPlayerData(Lnet/minecraft/entity/player/PlayerEntity;Ljava/lang/String;)V
intermediary method_55787
Lnet/minecraft/class_29;method_55787(Lnet/minecraft/class_1657;Ljava/lang/String;)V
official a
Leqb;a(Lcmz;Ljava/lang/String;)V
-
loadPlayerData
- Mappings:
Namespace Name Mixin selector named loadPlayerData
Lnet/minecraft/world/WorldSaveHandler;loadPlayerData(Lnet/minecraft/entity/player/PlayerEntity;Ljava/lang/String;)Ljava/util/Optional;
intermediary method_261
Lnet/minecraft/class_29;method_261(Lnet/minecraft/class_1657;Ljava/lang/String;)Ljava/util/Optional;
official b
Leqb;b(Lcmz;Ljava/lang/String;)Ljava/util/Optional;
-
loadPlayerData
- Mappings:
Namespace Name Mixin selector named loadPlayerData
Lnet/minecraft/world/WorldSaveHandler;loadPlayerData(Lnet/minecraft/entity/player/PlayerEntity;)Ljava/util/Optional;
intermediary method_55789
Lnet/minecraft/class_29;method_55789(Lnet/minecraft/class_1657;)Ljava/util/Optional;
official b
Leqb;b(Lcmz;)Ljava/util/Optional;
-