net.minecraft.world.level.chunk.storage

public class IOWorker

implements AutoCloseable

cgs
net.minecraft.world.level.chunk.storage.IOWorker
net.minecraft.class_4698
net.minecraft.world.storage.StorageIoWorker
net.minecraft.world.chunk.storage.IOWorker
net.minecraft.server.v1_16_R2.IOWorker

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_21495
LOGGER
field_227080_a_
private final AtomicBoolean
b
shutdownRequested
field_21497
closed
field_227082_c_
private final ProcessorMailbox<StrictQueue$IntRunnable>
c
mailbox
field_24468
field_24468
field_235969_c_
private final RegionFileStorage
d
storage
field_21499
storage
field_227084_e_
private final Map<ChunkPos, IOWorker$PendingStore>
e
pendingWrites
field_21500
results
field_227085_f_

Constructor summary

ModifierConstructor
protected (File arg0, boolean arg1, String arg2)

Method summary

Modifier and TypeMethod
public CompletableFuture<Void>
a(bra arg0, md arg1)
store(ChunkPos arg0, CompoundTag arg1)
method_23703(class_1923 arg0, class_2487 arg1)
setResult(ChunkPos pos, CompoundTag nbt)
func_227093_a_(ChunkPos arg0, CompoundNBT arg1)
public CompoundTag
a(bra arg0)
load(ChunkPos arg0)
method_23700(class_1923 arg0)
getNbt(ChunkPos pos)
func_227090_a_(ChunkPos arg0)
public CompletableFuture<Void>
a()
synchronize()
method_23698()
completeAll()
func_227088_a_()
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>> arg0)
func_235975_a_(Supplier<com.mojang.datafixers.util.Either<T, Exception>> arg0)
private void
b()
storePendingChunk()
method_23719()
writeResult()
func_235978_b_()
private void
c()
tellStorePending()
method_27945()
method_27945()
func_235982_c_()
private void
a(bra arg0, cgs$a arg1)
runStore(ChunkPos arg0, IOWorker$PendingStore arg1)
method_23701(class_1923 arg0, class_4698$class_4699 arg1)
write(ChunkPos pos, StorageIoWorker$Result arg1)
func_227091_a_(ChunkPos arg0, IOWorker$Entry arg1)
public void
close()
close()
close()
close()
close()