net.minecraft.world.level.chunk.storage

public class SectionStorage<R>

implements AutoCloseable

cgy
net.minecraft.world.level.chunk.storage.SectionStorage
net.minecraft.class_4180
net.minecraft.unmapped.C_suaauzrg
net.minecraft.world.storage.SerializingRegionBasedStorage
net.minecraft.world.chunk.storage.RegionSectionCache
net.minecraft.server.v1_16_R2.RegionFileSection

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_18691
f_hkdspeev
LOGGER
field_219120_a
private final IOWorker
b
worker
field_21505
f_wvxclayq
worker
field_227173_b_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Optional<R>>
c
storage
field_18692
f_fonmahly
loadedElements
field_219121_b
private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet
d
dirty
field_18693
f_lzyscepg
unsavedElements
field_219122_d
private final Function<Runnable, com.mojang.serialization.Codec<R>>
e
codec
field_24750
f_bmqpxoca
codecFactory
field_235988_e_
private final Function<Runnable, R>
f
factory
field_18695
f_fivzsmwg
factory
field_219124_f
private final com.mojang.datafixers.DataFixer
g
fixerUpper
field_19228
f_falkxrva
dataFixer
field_219125_g
private final DataFixTypes
h
type
field_19229
f_lmgjqjdd
dataFixType
field_219126_h

Constructor summary

ModifierConstructor
public (File directory, Function<Runnable, com.mojang.serialization.Codec<R>> codecFactory, Function<Runnable, R> factory, com.mojang.datafixers.DataFixer arg3, DataFixTypes arg4, boolean arg5)

Method summary

Modifier and TypeMethod
protected void
a(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
method_19290(BooleanSupplier arg0)
m_emvuwkbz(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
func_219115_a(BooleanSupplier arg0)
protected Optional<R>
c(long arg0)
get(long arg0)
method_19293(long arg0)
m_oynlrnhu(long arg0)
getIfLoaded(long pos)
func_219106_c(long arg0)
protected Optional<R>
d(long arg0)
getOrLoad(long arg0)
method_19294(long arg0)
m_yvchsmco(long arg0)
get(long pos)
func_219113_d(long arg0)
protected boolean
b(gp arg0)
outsideStoredRange(SectionPos arg0)
method_19292(class_4076 arg0)
m_ikyichfy(C_zubvmeye arg0)
isPosInvalid(ChunkSectionPos pos)
func_219114_b(SectionPos arg0)
protected R
e(long arg0)
getOrCreate(long arg0)
method_19295(long arg0)
m_ejbrptcm(long arg0)
getOrCreate(long pos)
func_235995_e_(long arg0)
private void
b(bra arg0)
readColumn(ChunkPos arg0)
method_19289(class_1923 arg0)
m_baelplcn(C_ynrszrtu arg0)
loadDataAt(ChunkPos arg0)
func_219107_b(ChunkPos arg0)
private CompoundTag
c(bra arg0)
tryRead(ChunkPos arg0)
method_20621(class_1923 arg0)
m_lxzqfara(C_ynrszrtu arg0)
loadNbt(ChunkPos pos)
func_223138_c(ChunkPos arg0)
private <T> void
a(bra 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)
func_235992_a_(ChunkPos arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
private void
d(bra arg0)
writeColumn(ChunkPos arg0)
method_20370(class_1923 arg0)
m_ptpihsyj(C_ynrszrtu arg0)
save(ChunkPos arg0)
func_219117_c(ChunkPos arg0)
private <T> com.mojang.serialization.Dynamic<T>
a(bra 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)
func_235991_a_(ChunkPos arg0, com.mojang.serialization.DynamicOps<T> arg1)
protected void
b(long arg0)
onSectionLoad(long arg0)
method_19291(long arg0)
m_iyehricr(long arg0)
onLoad(long pos)
func_219111_b(long arg0)
protected void
a(long arg0)
setDirty(long arg0)
method_19288(long arg0)
m_ebhrilfy(long arg0)
onUpdate(long pos)
func_219116_a(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)
func_235993_a_(com.mojang.serialization.Dynamic<?> arg0)
public void
a(bra arg0)
flush(ChunkPos arg0)
method_20436(class_1923 arg0)
m_zedncrpm(C_ynrszrtu arg0)
method_20436(ChunkPos arg0)
func_219112_a(ChunkPos arg0)
public void
close()
close()
close()
close()
close()