net.minecraft.world.level.chunk.storage

public class IOWorker

implements AutoCloseable

cnl
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 (File directory, boolean dsync, String name)

Method summary

Modifier and TypeMethod
public CompletableFuture<Void>
a(bvu arg0, na 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(bvu arg0)
load(ChunkPos arg0)
method_23700(class_1923 arg0)
getNbt(ChunkPos pos)
m_63533_(C_1560_ arg0)
protected CompletableFuture<CompoundTag>
b(bvu arg0)
loadAsync(ChunkPos arg0)
method_31738(class_1923 arg0)
readChunkData(ChunkPos pos)
m_156587_(C_1560_ arg0)
public CompletableFuture<Void>
a()
synchronize()
method_23698()
completeAll()
m_63525_()
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
b()
storePendingChunk()
method_23719()
writeResult()
m_63553_()
private void
c()
tellStorePending()
method_27945()
writeRemainingResults()
m_63561_()
private void
a(bvu arg0, cnl$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()