Class PlayerData

java.lang.Object
net.minecraft.world.storage.PlayerData

public class PlayerData 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

    • PlayerData

      public PlayerData(SaveFormat.LevelSave p_i232157_1_, com.mojang.datafixers.DataFixer p_i232157_2_)
  • Method Details

    • save

      public void save(PlayerEntity p_237335_1_)
    • load

      @Nullable public CompoundNBT load(PlayerEntity p_237336_1_)
    • getSeenPlayers

      public String[] getSeenPlayers()
    • getPlayerDataFolder

      public File getPlayerDataFolder()