net.minecraft.world.level.storage

public class LevelStorage

implements PlayerIO

coo
net.minecraft.world.level.storage.LevelStorage
net.minecraft.class_29
net.minecraft.world.WorldSaveHandler
net.minecraft.world.storage.SaveHandler
net.minecraft.server.v1_14_R1.WorldNBTStorage

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_149
LOGGER
field_215773_b
private final File
c
worldDir
field_145
worldDir
field_215774_c
baseDir
private final File
d
playerDir
field_144
playerDataDir
field_215775_d
playerDir
private final long
e
sessionId
field_146
saveStartTime
field_215776_e
sessionId
private final String
f
levelId
field_150
worldName
field_215777_f
private final StructureManager
g
structureManager
field_147
structureManager
field_215778_g
protected final com.mojang.datafixers.DataFixer
a
fixerUpper
field_148
dataFixer
field_215772_a

Constructor summary

ModifierConstructor
public (File worldsDirectory, String worldName, MinecraftServer server, com.mojang.datafixers.DataFixer dataFixer)

Method summary

Modifier and TypeMethod
public void
a(com arg0, id arg1)
saveLevelData(LevelData arg0, CompoundTag arg1)
method_131(class_31 arg0, class_2487 arg1)
saveWorld(LevelProperties arg0, CompoundTag arg1)
func_75755_a(WorldInfo arg0, CompoundNBT arg1)
saveWorldData(WorldData arg0, NBTTagCompound arg1)
private void
h()
initiateSession()
method_128()
writeSessionLock()
func_215770_h()
public File
a()
getFolder()
method_132()
getWorldDir()
func_75765_b()
getDirectory()
public void
b()
checkSession()
method_137()
checkSessionLock()
func_75762_c()
checkSession()
public LevelData
c()
prepareLevel()
method_133()
readProperties()
func_75757_d()
getWorldData()
public void
a(com arg0)
saveLevelData(LevelData arg0)
method_136(class_31 arg0)
saveWorld(LevelProperties arg0)
func_75761_a(WorldInfo arg0)
saveWorldData(WorldData arg0)
public void
a(awg arg0)
save(Player arg0)
method_262(class_1657 arg0)
savePlayerData(PlayerEntity arg0)
func_75753_a(PlayerEntity arg0)
save(EntityHuman arg0)
public CompoundTag
b(awg arg0)
load(Player arg0)
method_261(class_1657 arg0)
loadPlayerData(PlayerEntity arg0)
func_75752_b(PlayerEntity arg0)
load(EntityHuman arg0)
public String[]
d()
getSeenPlayers()
method_263()
getSavedPlayerIds()
func_215771_d()
getSeenPlayers()
public StructureManager
f()
getStructureManager()
method_134()
getStructureManager()
func_186340_h()
public com.mojang.datafixers.DataFixer
g()
getFixerUpper()
method_130()
getDataFixer()
func_197718_i()
getDataFixer()