Class WorldSaveHandler

java.lang.Object
net.minecraft.world.WorldSaveHandler

public class WorldSaveHandler extends Object
Mappings:
Namespace Name
named net/minecraft/world/WorldSaveHandler
intermediary net/minecraft/class_29
official erc
  • Field Details

    • LOGGER

      private static final Logger 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 Lerc;b:Lorg/slf4j/Logger;
    • DATE_TIME_FORMATTER

      private static final DateTimeFormatter 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 Lerc;d:Ljava/time/format/DateTimeFormatter;
    • playerDataDir

      private final File 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 Lerc;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 Lerc;a:Lcom/mojang/datafixers/DataFixer;
  • Constructor Details

    • WorldSaveHandler

      public WorldSaveHandler(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer)
      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> Lerc;<init>(Leqz$c;Lcom/mojang/datafixers/DataFixer;)V
  • Method Details

    • savePlayerData

      public void savePlayerData(PlayerEntity player)
      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 Lerc;a(Lcmv;)V
    • backupCorruptedPlayerData

      private void backupCorruptedPlayerData(PlayerEntity player, String extension)
      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 Lerc;a(Lcmv;Ljava/lang/String;)V
    • loadPlayerData

      private Optional<NbtCompound> loadPlayerData(PlayerEntity player, String extension)
      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 Lerc;b(Lcmv;Ljava/lang/String;)Ljava/util/Optional;
    • loadPlayerData

      public Optional<NbtCompound> loadPlayerData(PlayerEntity player)
      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 Lerc;b(Lcmv;)Ljava/util/Optional;