net.minecraft.world.level.chunk.storage

public class IOWorker

implements ChunkScanAccess, AutoCloseable

cqy
net.minecraft.world.level.chunk.storage.IOWorker
net.minecraft.class_4698
net.minecraft.world.storage.StorageIoWorker
net.minecraft.src.C_2160_
net.minecraft.world.level.chunk.storage.IOWorker

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_21495
LOGGER
f_63515_
private final AtomicBoolean
b
shutdownRequested
field_21497
closed
f_63516_
private final ProcessorMailbox<StrictQueue$IntRunnable>
c
mailbox
field_24468
executor
f_63517_
private final RegionFileStorage
d
storage
field_21499
storage
f_63518_
private final Map<ChunkPos, IOWorker$PendingStore>
e
pendingWrites
field_21500
results
f_63519_

Constructor summary

ModifierConstructor
protected (Path directory, boolean dsync, String name)

Method summary

Modifier and TypeMethod
public CompletableFuture<Void>
a(bzk arg0, oc arg1)
store(ChunkPos arg0, CompoundTag arg1)
method_23703(class_1923 arg0, class_2487 arg1)
setResult(ChunkPos pos, NbtCompound nbt)
m_63538_(C_1560_ p_63540_, C_4917_ arg1)
public CompoundTag
a(bzk arg0)
load(ChunkPos arg0)
method_23700(class_1923 arg0)
getNbt(ChunkPos pos)
m_63533_(C_1560_ arg0)
protected CompletableFuture<CompoundTag>
b(bzk arg0)
loadAsync(ChunkPos arg0)
method_31738(class_1923 arg0)
readChunkData(ChunkPos pos)
m_156587_(C_1560_ arg0)
public CompletableFuture<Void>
a(boolean arg0)
synchronize(boolean arg0)
method_23698(boolean arg0)
completeAll(boolean sync)
m_182498_(boolean arg0)
public CompletableFuture<Void>
a(bzk arg0, os arg1)
scanChunk(ChunkPos arg0, StreamTagVisitor arg1)
method_39795(class_1923 arg0, class_6836 arg1)
scanChunk(ChunkPos arg0, NbtScanner arg1)
m_196358_(C_1560_ p_196940_, C_196121_ arg1)
private <T> CompletableFuture<T>
a(Supplier<com.mojang.datafixers.util.Either<T, Exception>> arg0)
submitTask(Supplier<com.mojang.datafixers.util.Either<T, Exception>> arg0)
method_23709(Supplier<com.mojang.datafixers.util.Either<T, Exception>> arg0)
run(Supplier<com.mojang.datafixers.util.Either<T, Exception>> task)
m_63545_(Supplier<com.mojang.datafixers.util.Either<T, Exception>> arg0)
private void
a()
storePendingChunk()
method_23719()
writeResult()
m_63553_()
private void
b()
tellStorePending()
method_27945()
writeRemainingResults()
m_63561_()
private void
a(bzk arg0, cqy$a arg1)
runStore(ChunkPos arg0, IOWorker$PendingStore arg1)
method_23701(class_1923 arg0, class_4698$class_4699 arg1)
write(ChunkPos pos, StorageIoWorker$Result result)
m_63535_(C_1560_ p_63537_, C_2160_$C_2161_ arg1)
public void
close()
close()
close()