net.minecraft.world.level.chunk.storage

public class SectionStorage<R>

implements AutoCloseable

dvq
net.minecraft.world.level.chunk.storage.SectionStorage
net.minecraft.class_4180
net.minecraft.unmapped.C_suaauzrg
net.minecraft.world.storage.SerializingRegionBasedStorage
net.minecraft.world.storage.SerializingRegionBasedStorage
net.minecraft.src.C_2174_
net.minecraft.world.level.chunk.storage.RegionStorageInfo

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_18691
f_hkdspeev
LOGGER
LOGGER
f_63772_
private static final String
b
SECTIONS_TAG
field_31427
f_czqrqwxl
SECTIONS_KEY
SECTIONS_KEY
f_156617_
private final SimpleRegionStorage
d
simpleRegionStorage
field_48759
f_vuuorrbx
storageAccess
f_314111_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Optional<R>>
e
storage
field_18692
f_fonmahly
loadedElements
loadedElements
f_63774_
private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet
f
dirty
field_18693
f_lzyscepg
unsavedElements
unsavedElements
f_63775_
private final Function<Runnable, com.mojang.serialization.Codec<R>>
g
codec
field_24750
f_bmqpxoca
codecFactory
codecFactory
f_63776_
private final Function<Runnable, R>
h
factory
field_18695
f_fivzsmwg
factory
factory
f_63777_
private final RegistryAccess
i
registryAccess
field_39315
f_akvwwboh
registryManager
registryManager
f_223507_
protected final LevelHeightAccessor
c
levelHeightAccessor
field_27240
f_watghctx
world
world
f_156618_

Constructor summary

ModifierConstructor
public (SimpleRegionStorage storageAccess, Function<Runnable, com.mojang.serialization.Codec<R>> codecFactory, Function<Runnable, R> factory, RegistryAccess registryManager, LevelHeightAccessor world)

Method summary

Modifier and TypeMethod
protected void
a(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
method_19290(BooleanSupplier arg0)
m_emvuwkbz(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
tick(BooleanSupplier shouldKeepTicking)
m_6202_(BooleanSupplier arg0)
public boolean
a()
hasWork()
method_40020()
m_uvsedbqc()
hasUnsavedElements()
hasUnsavedElements()
m_202164_()
protected Optional<R>
c(long arg0)
get(long arg0)
method_19293(long arg0)
m_oynlrnhu(long arg0)
getIfLoaded(long pos)
getIfLoaded(long pos)
m_63818_(long arg0)
protected Optional<R>
d(long arg0)
getOrLoad(long arg0)
method_19294(long arg0)
m_yvchsmco(long arg0)
get(long pos)
get(long pos)
m_63823_(long arg0)
protected boolean
e(long arg0)
outsideStoredRange(long arg0)
method_19292(long arg0)
m_ikyichfy(long arg0)
isPosInvalid(long pos)
isPosInvalid(long pos)
m_156630_(long arg0)
protected R
f(long arg0)
getOrCreate(long arg0)
method_19295(long arg0)
m_ejbrptcm(long arg0)
getOrCreate(long pos)
getOrCreate(long pos)
m_63827_(long arg0)
private void
b(dbg arg0)
readColumn(ChunkPos arg0)
method_19289(class_1923 arg0)
m_baelplcn(C_ynrszrtu arg0)
loadDataAt(ChunkPos pos)
loadDataAt(ChunkPos chunkPos)
m_63814_(C_1560_ arg0)
private CompletableFuture<Optional<CompoundTag>>
c(dbg arg0)
tryRead(ChunkPos arg0)
method_20621(class_1923 arg0)
m_lxzqfara(C_ynrszrtu arg0)
loadNbt(ChunkPos pos)
loadNbt(ChunkPos pos)
m_223532_(C_1560_ arg0)
private void
a(dbg arg0, ald<vp> arg1, us arg2)
readColumn(ChunkPos arg0, RegistryOps<Tag> arg1, CompoundTag arg2)
method_20368(class_1923 arg0, class_6903<class_2520> arg1, class_2487 arg2)
m_hosgsbzq(C_ynrszrtu arg0, C_piadqmzm<C_oivssbvb> arg1, C_hhlwcnih arg2)
update(ChunkPos pos, RegistryOps<NbtElement> ops, NbtCompound nbt)
readColumn(ChunkPos pos, RegistryOps<NbtElement> ops, NbtCompound nbt)
m_63801_(C_1560_ p_331342_, C_203255_<C_4950_> p_329050_, C_4917_ arg2)
private void
d(dbg arg0)
writeColumn(ChunkPos arg0)
method_20370(class_1923 arg0)
m_ptpihsyj(C_ynrszrtu arg0)
save(ChunkPos pos)
save(ChunkPos pos)
m_63825_(C_1560_ arg0)
private <T> com.mojang.serialization.Dynamic<T>
a(dbg arg0, com.mojang.serialization.DynamicOps<T> arg1)
writeColumn(ChunkPos arg0, com.mojang.serialization.DynamicOps<T> arg1)
method_20367(class_1923 arg0, com.mojang.serialization.DynamicOps<T> arg1)
m_bewnujll(C_ynrszrtu arg0, com.mojang.serialization.DynamicOps<T> arg1)
serialize(ChunkPos chunkPos, com.mojang.serialization.DynamicOps<T> ops)
serialize(ChunkPos pos, com.mojang.serialization.DynamicOps<T> ops)
m_63798_(C_1560_ p_63800_, com.mojang.serialization.DynamicOps<T> arg1)
private static long
a(dbg arg0, int arg1)
getKey(ChunkPos arg0, int arg1)
method_33637(class_1923 arg0, int arg1)
m_erxlnqps(C_ynrszrtu arg0, int arg1)
chunkSectionPosAsLong(ChunkPos chunkPos, int y)
toChunkPosLong(ChunkPos pos, int y)
m_156627_(C_1560_ p_156628_, int p_156629_)
protected void
b(long arg0)
onSectionLoad(long arg0)
method_19291(long arg0)
m_iyehricr(long arg0)
onLoad(long pos)
onLoad(long pos)
m_5839_(long arg0)
protected void
a(long arg0)
setDirty(long arg0)
method_19288(long arg0)
m_ebhrilfy(long arg0)
onUpdate(long pos)
onUpdate(long pos)
m_5838_(long arg0)
private static int
a(com.mojang.serialization.Dynamic<?> arg0)
getVersion(com.mojang.serialization.Dynamic<?> arg0)
method_20369(com.mojang.serialization.Dynamic<?> arg0)
m_jsxrwbak(com.mojang.serialization.Dynamic<?> arg0)
getDataVersion(com.mojang.serialization.Dynamic<?> dynamic)
getDataVersion(com.mojang.serialization.Dynamic<?> dynamic)
m_63805_(com.mojang.serialization.Dynamic<?> p_63806_)
public void
a(dbg arg0)
flush(ChunkPos arg0)
method_20436(class_1923 arg0)
m_zedncrpm(C_ynrszrtu arg0)
saveChunk(ChunkPos pos)
saveChunk(ChunkPos pos)
m_63796_(C_1560_ arg0)
public void
close()
close()
close()