net.minecraft.world.level.chunk.storage

public class ChunkSerializer

dey
net.minecraft.world.level.chunk.storage.ChunkSerializer
net.minecraft.class_2852
net.minecraft.world.ChunkSerializer
net.minecraft.src.C_2158_
net.minecraft.world.level.chunk.storage.ChunkRegionLoader

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<PalettedContainer<BlockState>>
h
BLOCK_STATE_CODEC
field_34576
CODEC
f_188227_
private static final org.slf4j.Logger
i
LOGGER
field_13001
LOGGER
f_63449_
private static final String
j
TAG_UPGRADE_DATA
field_31413
UPGRADE_DATA_KEY
f_156511_
private static final String
k
BLOCK_TICKS_TAG
field_35476
BLOCK_TICKS
f_188228_
private static final String
l
FLUID_TICKS_TAG
field_35477
FLUID_TICKS
f_188229_
public static final String
a
X_POS_TAG
field_37659
X_POS_KEY
f_223441_
public static final String
b
Z_POS_TAG
field_37660
Z_POS_KEY
f_223442_
public static final String
c
HEIGHTMAPS_TAG
field_37661
HEIGHTMAPS_KEY
f_223443_
public static final String
d
IS_LIGHT_ON_TAG
field_37662
IS_LIGHT_ON_KEY
f_223444_
public static final String
e
SECTIONS_TAG
field_37663
SECTIONS_KEY
f_223445_
public static final String
f
BLOCK_LIGHT_TAG
field_37664
BLOCK_LIGHT_KEY
f_223446_
public static final String
g
SKY_LIGHT_TAG
field_37665
SKY_LIGHT_KEY
f_223447_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ProtoChunk
a(aif arg0, bqz arg1, clt arg2, qr arg3)
read(ServerLevel arg0, PoiManager arg1, ChunkPos arg2, CompoundTag arg3)
method_12395(class_3218 arg0, class_4153 arg1, class_1923 arg2, class_2487 arg3)
deserialize(ServerWorld world, PointOfInterestStorage poiStorage, ChunkPos chunkPos, NbtCompound nbt)
m_188230_(C_12_ p_188231_, C_787_ p_188232_, C_1560_ p_188233_, C_4917_ p_188234_)
private static void
a(clt arg0, int arg1, String arg2)
logErrors(ChunkPos arg0, int arg1, String arg2)
method_39035(class_1923 arg0, int arg1, String arg2)
logRecoverableError(ChunkPos chunkPos, int y, String message)
m_188239_(C_1560_ p_188240_, int p_188241_, String p_188242_)
private static com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>>
a(hr<cnk> arg0)
makeBiomeCodec(Registry<Biome> arg0)
method_39036(class_2378<class_1959> arg0)
createCodec(Registry<Biome> biomeRegistry)
m_188260_(C_4705_<C_1629_> p_188261_)
public static CompoundTag
a(aif arg0, ddx arg1)
write(ServerLevel arg0, ChunkAccess arg1)
method_12410(class_3218 arg0, class_2791 arg1)
serialize(ServerWorld world, Chunk chunk)
m_63454_(C_12_ p_63455_, C_2116_ p_63456_)
private static void
a(aif arg0, qr arg1, ddx$a arg2)
saveTicks(ServerLevel arg0, CompoundTag arg1, ChunkAccess$TicksToSave arg2)
method_39311(class_3218 arg0, class_2487 arg1, class_2791$class_6745 arg2)
serializeTicks(ServerWorld world, NbtCompound nbt, Chunk$TickSchedulers tickSchedulers)
m_188235_(C_12_ p_188236_, C_4917_ p_188237_, C_2116_$C_182876_ p_188238_)
public static ChunkStatus$ChunkType
a(qr arg0)
getChunkTypeFromTag(CompoundTag arg0)
method_12377(class_2487 arg0)
getChunkType(NbtCompound nbt)
m_63485_(C_4917_ p_63486_)
private static LevelChunk$PostLoadProcessor
a(aif arg0, qr arg1)
postLoadChunk(ServerLevel arg0, CompoundTag arg1)
method_12386(class_3218 arg0, class_2487 arg1)
getEntityLoadingCallback(ServerWorld world, NbtCompound nbt)
m_196890_(C_12_ p_196891_, C_4917_ p_196892_)
private static ListTag
a(qr arg0, String arg1)
getListOfCompoundsOrNull(CompoundTag arg0, String arg1)
method_39796(class_2487 arg0, String arg1)
getList(NbtCompound nbt, String key)
m_196897_(C_4917_ p_196898_, String p_196899_)
private static CompoundTag
a(dsq arg0, clt arg1, Map<dsa, dsi> arg2, Map<dsa, it.unimi.dsi.fastutil.longs.LongSet> arg3)
packStructureData(StructurePieceSerializationContext arg0, ChunkPos arg1, Map<Structure, StructureStart> arg2, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> arg3)
method_12385(class_6625 arg0, class_1923 arg1, Map<class_3195, class_3449> arg2, Map<class_3195, it.unimi.dsi.fastutil.longs.LongSet> arg3)
writeStructures(StructureContext context, ChunkPos pos, Map<Structure, StructureStart> starts, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> references)
m_188249_(C_183029_ p_188250_, C_1560_ p_188251_, Map<C_213164_, C_2588_> p_188252_, Map<C_213164_, it.unimi.dsi.fastutil.longs.LongSet> p_188253_)
private static Map<Structure, StructureStart>
a(dsq arg0, qr arg1, long arg2)
unpackStructureStart(StructurePieceSerializationContext arg0, CompoundTag arg1, long arg2)
method_12392(class_6625 arg0, class_2487 arg1, long arg2)
readStructureStarts(StructureContext context, NbtCompound nbt, long worldSeed)
m_188254_(C_183029_ p_188255_, C_4917_ p_188256_, long p_188257_)
private static Map<Structure, it.unimi.dsi.fastutil.longs.LongSet>
a(hs arg0, clt arg1, qr arg2)
unpackStructureReferences(RegistryAccess arg0, ChunkPos arg1, CompoundTag arg2)
method_12387(class_5455 arg0, class_1923 arg1, class_2487 arg2)
readStructureReferences(DynamicRegistryManager registryManager, ChunkPos pos, NbtCompound nbt)
m_208154_(C_4706_ p_208155_, C_1560_ p_208156_, C_4917_ p_208157_)
public static ListTag
a(it.unimi.dsi.fastutil.shorts.ShortList[] arg0)
packOffsets(it.unimi.dsi.fastutil.shorts.ShortList[] arg0)
method_12393(it.unimi.dsi.fastutil.shorts.ShortList[] arg0)
toNbt(it.unimi.dsi.fastutil.shorts.ShortList[] lists)
m_63490_(it.unimi.dsi.fastutil.shorts.ShortList[] p_63491_)