net.minecraft.world.level.chunk.storage

public class SectionStorage<R>

implements AutoCloseable

cnr
net.minecraft.world.level.chunk.storage.SectionStorage
net.minecraft.class_4180
net.minecraft.unmapped.C_suaauzrg
net.minecraft.world.storage.SerializingRegionBasedStorage
net.minecraft.src.C_2174_
net.minecraft.world.level.chunk.storage.RegionFileSection

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_18691
f_hkdspeev
LOGGER
f_63772_
private static final String
b
SECTIONS_TAG
field_31427
f_czqrqwxl
field_31427
f_156617_
private final IOWorker
d
worker
field_21505
f_wvxclayq
worker
f_63773_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Optional<R>>
e
storage
field_18692
f_fonmahly
loadedElements
f_63774_
private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet
f
dirty
field_18693
f_lzyscepg
unsavedElements
f_63775_
private final Function<Runnable, com.mojang.serialization.Codec<R>>
g
codec
field_24750
f_bmqpxoca
codecFactory
f_63776_
private final Function<Runnable, R>
h
factory
field_18695
f_fivzsmwg
factory
f_63777_
private final com.mojang.datafixers.DataFixer
i
fixerUpper
field_19228
f_falkxrva
dataFixer
f_63778_
private final DataFixTypes
j
type
field_19229
f_lmgjqjdd
dataFixTypes
f_63779_
protected final LevelHeightAccessor
c
levelHeightAccessor
field_27240
f_watghctx
world
f_156618_

Constructor summary

ModifierConstructor
public (File directory, Function<Runnable, com.mojang.serialization.Codec<R>> codecFactory, Function<Runnable, R> factory, com.mojang.datafixers.DataFixer dataFixer, DataFixTypes dataFixTypes, boolean dsync, 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)
m_6202_(BooleanSupplier arg0)
protected Optional<R>
c(long arg0)
get(long arg0)
method_19293(long arg0)
m_oynlrnhu(long arg0)
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)
m_63823_(long arg0)
protected boolean
e(long arg0)
outsideStoredRange(long arg0)
method_19292(long arg0)
m_ikyichfy(long arg0)
isPosInvalid(long arg0)
m_156630_(long arg0)
protected R
f(long arg0)
getOrCreate(long arg0)
method_19295(long arg0)
m_ejbrptcm(long arg0)
getOrCreate(long pos)
m_63827_(long arg0)
private void
b(bvu arg0)
readColumn(ChunkPos arg0)
method_19289(class_1923 arg0)
m_baelplcn(C_ynrszrtu arg0)
loadDataAt(ChunkPos chunkPos)
m_63814_(C_1560_ arg0)
private CompoundTag
c(bvu arg0)
tryRead(ChunkPos arg0)
method_20621(class_1923 arg0)
m_lxzqfara(C_ynrszrtu arg0)
loadNbt(ChunkPos pos)
m_63820_(C_1560_ arg0)
private <T> void
a(bvu arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
readColumn(ChunkPos arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
method_20368(class_1923 arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
m_okusviuh(C_ynrszrtu arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
update(ChunkPos pos, com.mojang.serialization.DynamicOps<T> arg1, T data)
m_63801_(C_1560_ p_63803_, com.mojang.serialization.DynamicOps<T> p_63804_, T arg2)
private void
d(bvu arg0)
writeColumn(ChunkPos arg0)
method_20370(class_1923 arg0)
m_ptpihsyj(C_ynrszrtu arg0)
save(ChunkPos arg0)
m_63825_(C_1560_ arg0)
private <T> com.mojang.serialization.Dynamic<T>
a(bvu 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)
method_20367(ChunkPos arg0, com.mojang.serialization.DynamicOps<T> arg1)
m_63798_(C_1560_ p_63800_, com.mojang.serialization.DynamicOps<T> arg1)
private static long
a(bvu arg0, int arg1)
getKey(ChunkPos arg0, int arg1)
method_33637(class_1923 arg0, int arg1)
m_erxlnqps(C_ynrszrtu arg0, int arg1)
method_33637(ChunkPos arg0, int arg1)
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)
m_5839_(long arg0)
protected void
a(long arg0)
setDirty(long arg0)
method_19288(long arg0)
m_ebhrilfy(long arg0)
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<?> arg0)
m_63805_(com.mojang.serialization.Dynamic<?> p_63806_)
public void
a(bvu arg0)
flush(ChunkPos arg0)
method_20436(class_1923 arg0)
m_zedncrpm(C_ynrszrtu arg0)
saveChunk(ChunkPos pos)
m_63796_(C_1560_ arg0)
public void
close()
close()
close()