Class PlayerDataStorage

java.lang.Object
net.minecraft.world.level.storage.PlayerDataStorage

public class PlayerDataStorage extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • playerDir

      private final File playerDir
    • fixerUpper

      protected final com.mojang.datafixers.DataFixer fixerUpper
  • Constructor Details

  • Method Details

    • save

      public void save(Player p_78434_)
    • load

      @Nullable public CompoundTag load(Player p_78436_)
    • getSeenPlayers

      public String[] getSeenPlayers()
    • getPlayerDataFolder

      public File getPlayerDataFolder()