net.minecraft.world.level.chunk.storage

public class EntityStorage

implements EntityPersistentStorage<Entity>

dmg
net.minecraft.world.level.chunk.storage.EntityStorage
net.minecraft.class_5565
net.minecraft.world.storage.EntityChunkDataAccess
net.minecraft.src.C_141271_
net.minecraft.world.level.chunk.storage.EntityStorage

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_27232
LOGGER
f_156535_
private static final String
c
ENTITIES_TAG
field_31414
ENTITIES_KEY
f_156536_
private static final String
d
POSITION_TAG
field_31415
POSITION_KEY
f_156537_
private final ServerLevel
e
level
field_27233
world
f_156538_
private final IOWorker
f
worker
field_27234
dataLoadWorker
f_156539_
private final it.unimi.dsi.fastutil.longs.LongSet
g
emptyChunks
field_27235
emptyChunks
f_156540_
private final ProcessorMailbox<Runnable>
h
entityDeserializerQueue
field_34056
taskExecutor
f_182485_
protected final com.mojang.datafixers.DataFixer
a
fixerUpper
field_27231
dataFixer
f_156534_

Constructor summary

ModifierConstructor
public (ServerLevel world, Path path, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, Executor executor)

Method summary

Modifier and TypeMethod
public CompletableFuture<ChunkEntities<Entity>>
a(csw arg0)
loadEntities(ChunkPos arg0)
method_31759(class_1923 arg0)
readChunkData(ChunkPos arg0)
m_141930_(C_1560_ arg0)
private static ChunkPos
a(sn arg0)
readChunkPos(CompoundTag arg0)
method_31736(class_2487 arg0)
getChunkPos(NbtCompound chunkNbt)
m_156570_(C_4917_ p_156571_)
private static void
a(sn arg0, csw arg1)
writeChunkPos(CompoundTag arg0, ChunkPos arg1)
method_31733(class_2487 arg0, class_1923 arg1)
putChunkPos(NbtCompound chunkNbt, ChunkPos pos)
m_156562_(C_4917_ p_156563_, C_1560_ p_156564_)
private static ChunkEntities<Entity>
b(csw arg0)
emptyChunk(ChunkPos arg0)
method_31735(class_1923 arg0)
emptyDataList(ChunkPos pos)
m_156568_(C_1560_ p_156569_)
public void
a(dmw<blv> arg0)
storeEntities(ChunkEntities<Entity> arg0)
method_31760(class_5566<class_1297> arg0)
writeChunkData(ChunkDataList<Entity> arg0)
m_141971_(C_141277_<C_507_> arg0)
public void
a(boolean arg0)
flush(boolean arg0)
method_31758(boolean arg0)
awaitAll(boolean arg0)
m_182219_(boolean arg0)
private CompoundTag
b(sn arg0)
upgradeChunkTag(CompoundTag arg0)
method_31737(class_2487 arg0)
fixChunkData(NbtCompound chunkNbt)
m_156572_(C_4917_ arg0)
public void
close()
close()
close()