net.minecraft.world.level.chunk.storage

public class EntityStorage

implements EntityPersistentStorage<Entity>

ebb
net.minecraft.world.level.chunk.storage.EntityStorage
net.minecraft.class_5565
net.minecraft.world.storage.EntityChunkDataAccess
net.minecraft.world.level.chunk.storage.EntityStorage

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_27232
LOGGER
private static final String
b
ENTITIES_TAG
field_31414
ENTITIES_KEY
private static final String
c
POSITION_TAG
field_31415
POSITION_KEY
private final ServerLevel
d
level
field_27233
world
private final SimpleRegionStorage
e
simpleRegionStorage
field_48747
storage
private final it.unimi.dsi.fastutil.longs.LongSet
f
emptyChunks
field_27235
emptyChunks
private final ConsecutiveExecutor
g
entityDeserializerQueue
field_34056
taskExecutor

Constructor summary

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

Method summary

Modifier and TypeMethod
public CompletableFuture<ChunkEntities<Entity>>
a(dgo arg0)
loadEntities(ChunkPos arg0)
method_31759(class_1923 arg0)
readChunkData(ChunkPos arg0)
private static ChunkPos
a(ux arg0)
readChunkPos(CompoundTag arg0)
method_31736(class_2487 arg0)
getChunkPos(NbtCompound chunkNbt)
private static void
a(ux arg0, dgo arg1)
writeChunkPos(CompoundTag arg0, ChunkPos arg1)
method_31733(class_2487 arg0, class_1923 arg1)
putChunkPos(NbtCompound chunkNbt, ChunkPos pos)
private static ChunkEntities<Entity>
b(dgo arg0)
emptyChunk(ChunkPos arg0)
method_31735(class_1923 arg0)
emptyDataList(ChunkPos pos)
public void
a(ebw<bvk> arg0)
storeEntities(ChunkEntities<Entity> arg0)
method_31760(class_5566<class_1297> arg0)
writeChunkData(ChunkDataList<Entity> arg0)
private void
a(CompletableFuture<?> arg0, dgo arg1)
reportSaveFailureIfPresent(CompletableFuture<?> arg0, ChunkPos arg1)
method_61001(CompletableFuture<?> arg0, class_1923 arg1)
handleSaveFailure(CompletableFuture<?> future, ChunkPos pos)
private void
b(CompletableFuture<?> arg0, dgo arg1)
reportLoadFailureIfPresent(CompletableFuture<?> arg0, ChunkPos arg1)
method_61003(CompletableFuture<?> arg0, class_1923 arg1)
handleLoadFailure(CompletableFuture<?> future, ChunkPos pos)
public void
a(boolean arg0)
flush(boolean arg0)
method_31758(boolean arg0)
awaitAll(boolean arg0)
public void
close()
close()