Class WorldSaveHandler

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

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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Ldqv;b:Lorg/slf4j/Logger;
      intermediary field_149 Lnet/minecraft/class_29;field_149:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/world/WorldSaveHandler;LOGGER:Lorg/slf4j/Logger;
    • playerDataDir

      private final File playerDataDir
      Mappings:
      Namespace Name Mixin selector
      official c Ldqv;c:Ljava/io/File;
      intermediary field_144 Lnet/minecraft/class_29;field_144:Ljava/io/File;
      named playerDataDir Lnet/minecraft/world/WorldSaveHandler;playerDataDir:Ljava/io/File;
    • dataFixer

      protected final com.mojang.datafixers.DataFixer dataFixer
      Mappings:
      Namespace Name Mixin selector
      official a Ldqv;a:Lcom/mojang/datafixers/DataFixer;
      intermediary field_148 Lnet/minecraft/class_29;field_148:Lcom/mojang/datafixers/DataFixer;
      named dataFixer Lnet/minecraft/world/WorldSaveHandler;dataFixer:Lcom/mojang/datafixers/DataFixer;
  • Constructor Details

    • WorldSaveHandler

      public WorldSaveHandler(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldqv;<init>(Ldqs$c;Lcom/mojang/datafixers/DataFixer;)V
      intermediary <init> Lnet/minecraft/class_29;<init>(Lnet/minecraft/class_32$class_5143;Lcom/mojang/datafixers/DataFixer;)V
      named <init> Lnet/minecraft/world/WorldSaveHandler;<init>(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lcom/mojang/datafixers/DataFixer;)V
  • Method Details

    • savePlayerData

      public void savePlayerData(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Ldqv;a(Lbtf;)V
      intermediary method_262 Lnet/minecraft/class_29;method_262(Lnet/minecraft/class_1657;)V
      named savePlayerData Lnet/minecraft/world/WorldSaveHandler;savePlayerData(Lnet/minecraft/entity/player/PlayerEntity;)V
    • loadPlayerData

      @Nullable public @Nullable NbtCompound loadPlayerData(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Ldqv;b(Lbtf;)Lpj;
      intermediary method_261 Lnet/minecraft/class_29;method_261(Lnet/minecraft/class_1657;)Lnet/minecraft/class_2487;
      named loadPlayerData Lnet/minecraft/world/WorldSaveHandler;loadPlayerData(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/nbt/NbtCompound;
    • getSavedPlayerIds

      public String[] getSavedPlayerIds()
      Mappings:
      Namespace Name Mixin selector
      official a Ldqv;a()[Ljava/lang/String;
      intermediary method_263 Lnet/minecraft/class_29;method_263()[Ljava/lang/String;
      named getSavedPlayerIds Lnet/minecraft/world/WorldSaveHandler;getSavedPlayerIds()[Ljava/lang/String;