net.minecraft.world.level.chunk.storage

public class SectionStorage<R extends Serializable>

implements AutoCloseable

cbc
net.minecraft.world.level.chunk.storage.SectionStorage
net.minecraft.class_4180
net.minecraft.world.storage.SerializingRegionBasedStorage
net.minecraft.world.chunk.storage.RegionSectionCache
net.minecraft.server.v1_15_R1.RegionFileSection

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_18691
LOGGER
field_219120_a
private final IOWorker
b
worker
field_21505
worker
field_227173_b_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Optional<R>>
c
storage
field_18692
loadedElements
field_219121_b
private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet
d
dirty
field_18693
unsavedElements
field_219122_d
private final BiFunction<Runnable, com.mojang.datafixers.Dynamic<?>, R>
e
deserializer
field_18694
deserializer
field_219123_e
private final Function<Runnable, R>
f
factory
field_18695
factory
field_219124_f
private final com.mojang.datafixers.DataFixer
g
fixerUpper
field_19228
dataFixer
field_219125_g
private final DataFixTypes
h
type
field_19229
dataFixType
field_219126_h

Constructor summary

ModifierConstructor
public (File directory, BiFunction<Runnable, com.mojang.datafixers.Dynamic<?>, R> deserializer, Function<Runnable, R> factory, com.mojang.datafixers.DataFixer dataFixer, DataFixTypes dataFixType)

Method summary

Modifier and TypeMethod
protected void
a(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
method_19290(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
func_219115_a(BooleanSupplier arg0)
protected Optional<R>
c(long arg0)
get(long arg0)
method_19293(long arg0)
getIfLoaded(long pos)
func_219106_c(long arg0)
protected Optional<R>
d(long arg0)
getOrLoad(long arg0)
method_19294(long arg0)
get(long pos)
func_219113_d(long arg0)
protected boolean
b(gd arg0)
outsideStoredRange(SectionPos arg0)
method_19292(class_4076 arg0)
isPosInvalid(ChunkSectionPos pos)
func_219114_b(SectionPos arg0)
protected R
e(long arg0)
getOrCreate(long arg0)
method_19295(long arg0)
getOrCreate(long pos)
func_219110_e(long arg0)
private void
b(bje arg0)
readColumn(ChunkPos arg0)
method_19289(class_1923 arg0)
loadDataAt(ChunkPos arg0)
func_219107_b(ChunkPos arg0)
private CompoundTag
c(bje arg0)
tryRead(ChunkPos arg0)
method_20621(class_1923 arg0)
func_223138_c(ChunkPos arg0)
private <T> void
a(bje arg0, com.mojang.datafixers.types.DynamicOps<T> arg1, T arg2)
readColumn(ChunkPos arg0, com.mojang.datafixers.types.DynamicOps<T> arg1, T arg2)
method_20368(class_1923 arg0, com.mojang.datafixers.types.DynamicOps<T> arg1, T arg2)
func_219119_a(ChunkPos arg0, com.mojang.datafixers.types.DynamicOps<T> arg1, T arg2)
private void
d(bje arg0)
writeColumn(ChunkPos arg0)
method_20370(class_1923 arg0)
save(ChunkPos arg0)
func_219117_c(ChunkPos arg0)
private <T> com.mojang.datafixers.Dynamic<T>
a(bje arg0, com.mojang.datafixers.types.DynamicOps<T> arg1)
writeColumn(ChunkPos arg0, com.mojang.datafixers.types.DynamicOps<T> arg1)
method_20367(class_1923 arg0, com.mojang.datafixers.types.DynamicOps<T> arg1)
func_219108_a(ChunkPos arg0, com.mojang.datafixers.types.DynamicOps<T> arg1)
protected void
b(long arg0)
onSectionLoad(long arg0)
method_19291(long arg0)
onLoad(long pos)
func_219111_b(long arg0)
protected void
a(long arg0)
setDirty(long arg0)
method_19288(long arg0)
onUpdate(long pos)
func_219116_a(long arg0)
private static int
a(com.mojang.datafixers.Dynamic<?> arg0)
getVersion(com.mojang.datafixers.Dynamic<?> arg0)
method_20369(com.mojang.datafixers.Dynamic<?> arg0)
getDataVersion(com.mojang.datafixers.Dynamic<?> arg0)
func_219103_a(com.mojang.datafixers.Dynamic<?> arg0)
public void
a(bje arg0)
flush(ChunkPos arg0)
method_20436(class_1923 arg0)
func_219112_a(ChunkPos arg0)
public void
close()
close()
close()
close()