Package net.minecraft.world.storage
Class PlayerData
- java.lang.Object
-
- net.minecraft.world.storage.PlayerData
-
public class PlayerData extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected com.mojang.datafixers.DataFixer
fixerUpper
private static org.apache.logging.log4j.Logger
LOGGER
private java.io.File
playerDir
-
Constructor Summary
Constructors Constructor Description PlayerData(SaveFormat.LevelSave p_i232157_1_, com.mojang.datafixers.DataFixer p_i232157_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getPlayerDataFolder()
java.lang.String[]
getSeenPlayers()
CompoundNBT
load(PlayerEntity p_237336_1_)
void
save(PlayerEntity p_237335_1_)
-
-
-
Constructor Detail
-
PlayerData
public PlayerData(SaveFormat.LevelSave p_i232157_1_, com.mojang.datafixers.DataFixer p_i232157_2_)
-
-
Method Detail
-
save
public void save(PlayerEntity p_237335_1_)
-
load
@Nullable public CompoundNBT load(PlayerEntity p_237336_1_)
-
getSeenPlayers
public java.lang.String[] getSeenPlayers()
-
getPlayerDataFolder
public java.io.File getPlayerDataFolder()
-
-