net.minecraft.world.level.chunk.storage

public class EntityStorage

implements EntityPersistentStorage<Entity>

dwk
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
a
LOGGER
field_27232
LOGGER
f_156535_
private static final String
b
ENTITIES_TAG
field_31414
ENTITIES_KEY
f_156536_
private static final String
c
POSITION_TAG
field_31415
POSITION_KEY
f_156537_
private final ServerLevel
d
level
field_27233
world
f_156538_
private final SimpleRegionStorage
e
simpleRegionStorage
field_48747
storage
f_314245_
private final it.unimi.dsi.fastutil.longs.LongSet
f
emptyChunks
field_27235
emptyChunks
f_156540_
private final ProcessorMailbox<Runnable>
g
entityDeserializerQueue
field_34056
taskExecutor
f_182485_

Constructor summary

ModifierConstructor
public (SimpleRegionStorage storage, ServerLevel world, Executor executor)

Method summary

Modifier and TypeMethod
public CompletableFuture<ChunkEntities<Entity>>
a(dcd arg0)
loadEntities(ChunkPos arg0)
method_31759(class_1923 arg0)
readChunkData(ChunkPos arg0)
m_141930_(C_1560_ arg0)
private static ChunkPos
a(ub arg0)
readChunkPos(CompoundTag arg0)
method_31736(class_2487 arg0)
getChunkPos(NbtCompound chunkNbt)
m_156570_(C_4917_ p_156571_)
private static void
a(ub arg0, dcd 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(dcd arg0)
emptyChunk(ChunkPos arg0)
method_31735(class_1923 arg0)
emptyDataList(ChunkPos pos)
m_156568_(C_1560_ p_156569_)
public void
a(dxe<bsr> arg0)
storeEntities(ChunkEntities<Entity> arg0)
method_31760(class_5566<class_1297> arg0)
writeChunkData(ChunkDataList<Entity> arg0)
m_141971_(C_141277_<C_507_> arg0)
private void
a(CompletableFuture<?> arg0, dcd arg1)
reportSaveFailureIfPresent(CompletableFuture<?> arg0, ChunkPos arg1)
method_61001(CompletableFuture<?> arg0, class_1923 arg1)
handleSaveFailure(CompletableFuture<?> future, ChunkPos pos)
m_340226_(CompletableFuture<?> p_343781_, C_1560_ arg1)
private void
b(CompletableFuture<?> arg0, dcd arg1)
reportLoadFailureIfPresent(CompletableFuture<?> arg0, ChunkPos arg1)
method_61003(CompletableFuture<?> arg0, class_1923 arg1)
handleLoadFailure(CompletableFuture<?> future, ChunkPos pos)
m_338511_(CompletableFuture<?> p_345292_, C_1560_ arg1)
public void
a(boolean arg0)
flush(boolean arg0)
method_31758(boolean arg0)
awaitAll(boolean arg0)
m_182219_(boolean arg0)
public void
close()
close()
close()