net.minecraft.world.level.chunk.storage

public class IOWorker

implements ChunkScanAccess, AutoCloseable

dfb
net.minecraft.world.level.chunk.storage.IOWorker
net.minecraft.class_4698
net.minecraft.unmapped.C_ffgsaknh
net.minecraft.world.storage.StorageIoWorker
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.slf4j.Logger
a
LOGGER
field_21495
f_wtxzpjxm
LOGGER
LOGGER
f_63515_
private final AtomicBoolean
b
shutdownRequested
field_21497
f_prbotxpi
closed
closed
f_63516_
private final ProcessorMailbox<StrictQueue$IntRunnable>
c
mailbox
field_24468
f_ywvkbwql
executor
executor
f_63517_
private final RegionFileStorage
d
storage
field_21499
f_ebctbref
storage
storage
f_63518_
private final Map<ChunkPos, IOWorker$PendingStore>
e
pendingWrites
field_21500
f_pyjvjyaq
results
results
f_63519_
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<CompletableFuture<BitSet>>
f
regionCacheForBlender
field_38240
f_eqfuhsox
blendingStatusCaches
f_223459_
private static final int
g
REGION_CACHE_SIZE
field_38241
f_cmzfptka
MAX_CACHE_SIZE
f_223460_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(clt arg0, int arg1)
isOldChunkAround(ChunkPos arg0, int arg1)
method_42330(class_1923 arg0, int arg1)
m_vacywheq(C_ynrszrtu arg0, int arg1)
needsBlending(ChunkPos chunkPos, int checkRadius)
isOldChunkAround(ChunkPos pos, int radius)
m_223471_(C_1560_ p_223473_, int arg1)
private CompletableFuture<BitSet>
a(int arg0, int arg1)
getOrCreateOldDataForRegion(int arg0, int arg1)
method_42329(int arg0, int arg1)
m_nwcchuzp(int arg0, int arg1)
getOrComputeBlendingStatus(int chunkX, int chunkZ)
m_nwcchuzp(int regionX, int regionZ)
m_223463_(int p_223465_, int arg1)
private CompletableFuture<BitSet>
b(int arg0, int arg1)
createOldDataForRegion(int arg0, int arg1)
method_42333(int arg0, int arg1)
m_zyiverhw(int arg0, int arg1)
computeBlendingStatus(int chunkX, int chunkZ)
m_zyiverhw(int x, int z)
m_223489_(int p_223491_, int arg1)
private boolean
a(qr arg0)
isOldChunk(CompoundTag arg0)
method_42332(class_2487 arg0)
m_yhgjzcrh(C_hhlwcnih arg0)
needsBlending(NbtCompound nbt)
m_yhgjzcrh(NbtCompound nbt)
m_223484_(C_4917_ arg0)
public CompletableFuture<Void>
a(clt arg0, qr arg1)
store(ChunkPos arg0, CompoundTag arg1)
method_23703(class_1923 arg0, class_2487 arg1)
m_ipwbxzat(C_ynrszrtu arg0, C_hhlwcnih arg1)
setResult(ChunkPos pos, NbtCompound nbt)
setResult(ChunkPos pos, NbtCompound nbt)
m_63538_(C_1560_ p_63540_, C_4917_ arg1)
public CompletableFuture<Optional<CompoundTag>>
a(clt arg0)
loadAsync(ChunkPos arg0)
method_31738(class_1923 arg0)
m_msmawqmw(C_ynrszrtu arg0)
readChunkData(ChunkPos pos)
readChunkData(ChunkPos pos)
m_156587_(C_1560_ arg0)
public CompletableFuture<Void>
a(boolean arg0)
synchronize(boolean arg0)
method_23698(boolean arg0)
m_jjukvdrp(boolean arg0)
completeAll(boolean sync)
completeAll(boolean sync)
m_182498_(boolean arg0)
public CompletableFuture<Void>
a(clt arg0, rh arg1)
scanChunk(ChunkPos arg0, StreamTagVisitor arg1)
method_39795(class_1923 arg0, class_6836 arg1)
m_ohkctgei(C_ynrszrtu arg0, C_avcaqucb arg1)
scanChunk(ChunkPos arg0, NbtScanner 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)
m_nghssqns(Supplier<com.mojang.datafixers.util.Either<T, Exception>> arg0)
run(Supplier<com.mojang.datafixers.util.Either<T, Exception>> task)
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()
m_tfcrrgaw()
writeResult()
writeResult()
m_63553_()
private void
b()
tellStorePending()
method_27945()
m_wqoqxngx()
writeRemainingResults()
writeRemainingResults()
m_63561_()
private void
a(clt arg0, dfb$a arg1)
runStore(ChunkPos arg0, IOWorker$PendingStore arg1)
method_23701(class_1923 arg0, class_4698$class_4699 arg1)
m_zosiugiq(C_ynrszrtu arg0, C_ffgsaknh$C_bwprgfor arg1)
write(ChunkPos pos, StorageIoWorker$Result result)
write(ChunkPos pos, StorageIoWorker$Result result)
m_63535_(C_1560_ p_63537_, C_2160_$C_2161_ arg1)
public void
close()
close()
close()