net.minecraft.world.storage

public class EntityChunkDataAccess

implements ChunkDataAccess<Entity>

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

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
LOGGER
field_27232
LOGGER
private static final String
ENTITIES_TAG
ENTITIES_TAG
field_31414
ENTITIES_KEY
private static final String
POSITION_TAG
POSITION_TAG
field_31415
POSITION_KEY
private final ServerWorld
level
level
field_27233
world
private final VersionedChunkStorage
simpleRegionStorage
simpleRegionStorage
field_48747
storage
private final it.unimi.dsi.fastutil.longs.LongSet
emptyChunks
emptyChunks
field_27235
emptyChunks
private final SimpleConsecutiveExecutor
entityDeserializerQueue
entityDeserializerQueue
field_34056
taskExecutor

Constructor summary

ModifierConstructor
public (VersionedChunkStorage storage, ServerWorld world, Executor executor)

Method summary

Modifier and TypeMethod
public CompletableFuture<ChunkDataList<Entity>>
loadEntities(ChunkPos pos)
loadEntities(ChunkPos pos)
method_31759(class_1923 arg0)
readChunkData(ChunkPos arg0)
private static ChunkDataList<Entity>
emptyChunk(ChunkPos pos)
emptyChunk(ChunkPos pos)
method_31735(class_1923 arg0)
emptyDataList(ChunkPos pos)
public void
storeEntities(ChunkEntities<Entity> chunk)
storeEntities(ChunkEntities<Entity> chunk)
method_31760(class_5566<class_1297> arg0)
writeChunkData(ChunkDataList<Entity> arg0)
private void
reportSaveFailureIfPresent(CompletableFuture<?> operation, ChunkPos pos)
reportSaveFailureIfPresent(CompletableFuture<?> operation, ChunkPos pos)
method_61001(CompletableFuture<?> arg0, class_1923 arg1)
handleSaveFailure(CompletableFuture<?> future, ChunkPos pos)
private void
reportLoadFailureIfPresent(CompletableFuture<?> operation, ChunkPos pos)
reportLoadFailureIfPresent(CompletableFuture<?> operation, ChunkPos pos)
method_61003(CompletableFuture<?> arg0, class_1923 arg1)
handleLoadFailure(CompletableFuture<?> future, ChunkPos pos)
public void
flush(boolean flushStorage)
flush(boolean flushStorage)
method_31758(boolean arg0)
awaitAll(boolean arg0)
public void
close()
close()