Class WorldSaveHandler

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lddy;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_149 Lnet/minecraft/class_29;field_149:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/WorldSaveHandler;LOGGER:Lorg/apache/logging/log4j/Logger;
    • playerDataDir

      private final File playerDataDir
      Mappings:
      Namespace Name Mixin selector
      official c Lddy;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 Lddy;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> Lddy;<init>(Lddu$a;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 Lddy;a(Lbhl;)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 CompoundTag loadPlayerData​(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lddy;b(Lbhl;)Lmq;
      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/CompoundTag;
    • getSavedPlayerIds

      public String[] getSavedPlayerIds()
      Mappings:
      Namespace Name Mixin selector
      official a Lddy;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;