net.minecraft.world.level.chunk.storage

public class ChunkSerializer

cqv
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>>
a
BLOCK_STATE_CODEC
field_34576
CODEC
f_188227_
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_13001
LOGGER
f_63449_
private static final String
c
TAG_UPGRADE_DATA
field_31413
UPGRADE_DATA_KEY
f_156511_
private static final String
d
BLOCK_TICKS_TAG
field_35476
BLOCK_TICKS
f_188228_
private static final String
e
FLUID_TICKS_TAG
field_35477
FLUID_TICKS
f_188229_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ProtoChunk
a(adi arg0, bha arg1, bzk arg2, oc 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(bzk 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<PalettedContainer<Biome>>
a(gx<caz> 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(adi arg0, cpy 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(adi arg0, oc arg1, cpy$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(oc arg0)
getChunkTypeFromTag(CompoundTag arg0)
method_12377(class_2487 arg0)
getChunkType(NbtCompound nbt)
m_63485_(C_4917_ p_63486_)
private static LevelChunk$PostLoadProcessor
a(adi arg0, oc 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(oc 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(dfp arg0, bzk arg1, Map<cyi<?>, dfh<?>> arg2, Map<cyi<?>, it.unimi.dsi.fastutil.longs.LongSet> arg3)
packStructureData(StructurePieceSerializationContext arg0, ChunkPos arg1, Map<StructureFeature<?>, StructureStart<?>> arg2, Map<StructureFeature<?>, 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<StructureFeature<?>, StructureStart<?>> starts, Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet> references)
m_188249_(C_183029_ p_188250_, C_1560_ p_188251_, Map<C_2304_<?>, C_2588_<?>> p_188252_, Map<C_2304_<?>, it.unimi.dsi.fastutil.longs.LongSet> p_188253_)
private static Map<StructureFeature<?>, StructureStart<?>>
a(dfp arg0, oc 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<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet>
a(bzk arg0, oc arg1)
unpackStructureReferences(ChunkPos arg0, CompoundTag arg1)
method_12387(class_1923 arg0, class_2487 arg1)
readStructureReferences(ChunkPos pos, NbtCompound nbt)
m_63471_(C_1560_ p_63472_, C_4917_ p_63473_)
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_)