net.minecraft.world.storage

public class EntityChunkDataAccess

implements ChunkDataAccess<Entity>

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
field_27232
LOGGER
private static final String
ENTITIES_TAG
field_31414
ENTITIES_KEY
private static final String
POSITION_TAG
field_31415
POSITION_KEY
private final ServerWorld
level
field_27233
world
private final VersionedChunkStorage
simpleRegionStorage
field_48747
storage
private final it.unimi.dsi.fastutil.longs.LongSet
emptyChunks
field_27235
emptyChunks
private final SimpleConsecutiveExecutor
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)
method_31759(class_1923 arg0)
readChunkData(ChunkPos arg0)
private static ChunkDataList<Entity>
emptyChunk(ChunkPos pos)
method_31735(class_1923 arg0)
emptyDataList(ChunkPos pos)
public void
storeEntities(ChunkEntities<Entity> chunk)
method_31760(class_5566<class_1297> arg0)
writeChunkData(ChunkDataList<Entity> arg0)
private void
reportSaveFailureIfPresent(CompletableFuture<?> operation, ChunkPos pos)
method_61001(CompletableFuture<?> arg0, class_1923 arg1)
handleSaveFailure(CompletableFuture<?> future, ChunkPos pos)
private void
reportLoadFailureIfPresent(CompletableFuture<?> operation, ChunkPos pos)
method_61003(CompletableFuture<?> arg0, class_1923 arg1)
handleLoadFailure(CompletableFuture<?> future, ChunkPos pos)
public void
flush(boolean flushStorage)
method_31758(boolean arg0)
awaitAll(boolean arg0)
public void
close()
private Object
lambda$reportLoadFailureIfPresent$0(ChunkPos arg0, Throwable arg1)
method_61000(class_1923 arg0, Throwable arg1)
method_61000(ChunkPos arg0, Throwable throwable)
private Object
lambda$reportSaveFailureIfPresent$0(ChunkPos arg0, Throwable arg1)
method_61002(class_1923 arg0, Throwable arg1)
method_61002(ChunkPos arg0, Throwable throwable)
private static void
lambda$storeEntities$0(ProblemReporter$ScopedCollector arg0, ListTag arg1, Entity arg2)
method_31734(class_8942$class_11340 arg0, class_2499 arg1, class_1297 arg2)
method_31734(ErrorReporter$Logging arg0, NbtList arg1, Entity arg2)
private ChunkDataList
lambda$loadEntities$0(ChunkPos arg0, Optional arg1)
method_31731(class_1923 arg0, Optional arg1)
method_31731(ChunkPos arg0, Optional nbt)