net.minecraft.world.level.chunk.storage

public record SerializableChunkData

ebk
net.minecraft.world.level.chunk.storage.SerializableChunkData
net.minecraft.class_2852
net.minecraft.unmapped.C_dnvmojll
net.minecraft.world.chunk.SerializedChunk
net.minecraft.unmapped.C_dnvmojll
net.minecraft.src.C_345914_
net.minecraft.world.level.chunk.storage.RegionFileSection

Field summary

Modifier and TypeField
private final Registry<Biome>
h
biomeRegistry
comp_2945
f_ngjuqcrh
biomeRegistry
biomeRegistry
f_348426_
private final ChunkPos
i
chunkPos
comp_2946
f_bqvusszy
chunkPos
chunkPos
f_347529_
private final int
j
minSectionY
comp_2947
f_tvvsxhrz
minSectionY
minSectionY
f_348575_
private final long
k
lastUpdateTime
comp_2948
f_edkndahy
lastUpdateTime
lastUpdateTime
f_347799_
private final long
l
inhabitedTime
comp_2949
f_imjhntae
inhabitedTime
inhabitedTime
f_348462_
private final ChunkStatus
m
chunkStatus
comp_2950
f_phzomwhm
chunkStatus
chunkStatus
f_348749_
private final BlendingData$Packed
n
blendingData
comp_2951
f_dajleadn
blendingData
blendingData
f_347788_
private final BelowZeroRetrogen
o
belowZeroRetrogen
comp_2952
f_slinsjmq
belowZeroRetrogen
belowZeroRetrogen
f_346678_
private final UpgradeData
p
upgradeData
comp_2953
f_jtwnjyvg
upgradeData
upgradeData
f_346703_
private final long[]
q
carvingMask
comp_2954
f_skcfdupy
carvingMask
carvingMask
f_346880_
private final Map<Heightmap$Types, long[]>
r
heightmaps
comp_2955
f_jmdxjtgv
heightmaps
heightmaps
f_347544_
private final ChunkAccess$PackedTicks
s
packedTicks
comp_2956
f_wtqjawnp
packedTicks
packedTicks
f_349575_
private final it.unimi.dsi.fastutil.shorts.ShortList[]
t
postProcessingSections
comp_2957
f_vtwbqdtl
postProcessingSections
postProcessingSections
f_346447_
private final boolean
u
lightCorrect
comp_2958
f_oagtdxkd
lightCorrect
lightCorrect
f_346805_
private final List<SerializableChunkData$SectionData>
v
sectionData
comp_2959
f_zzwnxgeg
sectionData
sectionData
f_347260_
private final List<CompoundTag>
w
entities
comp_2960
f_bjkmvtwr
entities
entities
f_349023_
private final List<CompoundTag>
x
blockEntities
comp_2961
f_rzkgehwl
blockEntities
blockEntities
f_348663_
private final CompoundTag
y
structureData
comp_2962
f_jljfpedf
structureData
structureData
f_346866_
private static final com.mojang.serialization.Codec<PalettedContainer<BlockState>>
z
BLOCK_STATE_CODEC
field_34576
f_tjlnhewb
CODEC
CODEC
f_347972_
private static final org.slf4j.Logger
A
LOGGER
field_13001
f_ynwpcofn
LOGGER
LOGGER
f_346996_
private static final String
B
TAG_UPGRADE_DATA
field_31413
f_xgrwnltb
UPGRADE_DATA_KEY
f_348475_
private static final String
C
BLOCK_TICKS_TAG
field_35476
f_xlwuxnar
BLOCK_TICKS
f_347435_
private static final String
D
FLUID_TICKS_TAG
field_35477
f_mtwxfqit
FLUID_TICKS
f_348892_
public static final String
a
X_POS_TAG
field_37659
f_mklmvmae
X_POS_KEY
f_347201_
public static final String
b
Z_POS_TAG
field_37660
f_wsvmmbbn
Z_POS_KEY
f_347955_
public static final String
c
HEIGHTMAPS_TAG
field_37661
f_hfxvzyma
HEIGHTMAPS_KEY
f_347376_
public static final String
d
IS_LIGHT_ON_TAG
field_37662
f_hnfzklwk
IS_LIGHT_ON_KEY
f_347049_
public static final String
e
SECTIONS_TAG
field_37663
f_cwbapxrc
SECTIONS_KEY
f_348504_
public static final String
f
BLOCK_LIGHT_TAG
field_37664
f_ngycygnv
BLOCK_LIGHT_KEY
f_349272_
public static final String
g
SKY_LIGHT_TAG
field_37665
f_yxnupgxy
SKY_LIGHT_KEY
f_347931_

Constructor summary

ModifierConstructor
public (Registry<Biome> registry, ChunkPos chunkPos, int minSectionY, long lastUpdateTime, long inhabitedTime, ChunkStatus chunkStatus, BlendingData$Packed blendingData, BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, long[] carvingMask, Map<Heightmap$Types, long[]> heightmaps, ChunkAccess$PackedTicks packedTicks, it.unimi.dsi.fastutil.shorts.ShortList[] postProcessingSections, boolean lightCorrect, List<SerializableChunkData$SectionData> sectionData, List<CompoundTag> entities, List<CompoundTag> blockEntities, CompoundTag structureData)

Method summary

Modifier and TypeMethod
public static SerializableChunkData
a(dhj arg0, ke arg1, ux arg2)
parse(LevelHeightAccessor arg0, RegistryAccess arg1, CompoundTag arg2)
method_61794(class_5539 arg0, class_5455 arg1, class_2487 arg2)
m_ubprzlbz(C_qpninoyb arg0, C_wqxmvzdq arg1, C_hhlwcnih arg2)
fromNbt(HeightLimitView world, DynamicRegistryManager registryManager, NbtCompound nbt)
m_ubprzlbz(HeightLimitView world, DynamicRegistryManager registryManager, NbtCompound arg2)
m_354258_(C_141183_ p_366637_, C_4706_ p_364474_, C_4917_ p_368975_)
public ProtoChunk
a(ash arg0, chj arg1, ebi arg2, dgn arg3)
read(ServerLevel arg0, PoiManager arg1, RegionStorageInfo arg2, ChunkPos arg3)
method_12395(class_3218 arg0, class_4153 arg1, class_9240 arg2, class_1923 arg3)
m_fubnchkd(C_bdwnwhiu arg0, C_uegwgivt arg1, C_tzvgbkzf arg2, C_ynrszrtu arg3)
convert(ServerWorld world, PointOfInterestStorage poiStorage, StorageKey key, ChunkPos expectedPos)
m_fubnchkd(ServerWorld world, PointOfInterestStorage arg1, RegionStorageKey arg2, ChunkPos arg3)
m_357393_(C_12_ p_362734_, C_787_ p_366907_, C_313747_ p_363624_, C_1560_ arg3)
private static void
a(dgn arg0, int arg1, String arg2)
logErrors(ChunkPos arg0, int arg1, String arg2)
method_39035(class_1923 arg0, int arg1, String arg2)
m_bwkbwowb(C_ynrszrtu arg0, int arg1, String arg2)
logRecoverableError(ChunkPos chunkPos, int y, String message)
m_bwkbwowb(ChunkPos arg0, int i, String arg2)
m_351671_(C_1560_ p_362005_, int p_366847_, String p_369695_)
private static com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>>
a(kd<dij> arg0)
makeBiomeCodec(Registry<Biome> arg0)
method_39036(class_2378<class_1959> arg0)
m_esrqtgyo(C_tqxyjqsk<C_orlkpefs> arg0)
createCodec(Registry<Biome> biomeRegistry)
m_esrqtgyo(Registry<Biome> registry)
m_355410_(C_4705_<C_1629_> p_368397_)
public static SerializableChunkData
a(ash arg0, dzp arg1)
copyOf(ServerLevel arg0, ChunkAccess arg1)
method_61793(class_3218 arg0, class_2791 arg1)
m_ojbahlzt(C_bdwnwhiu arg0, C_lwzmmmqr arg1)
fromChunk(ServerWorld world, Chunk chunk)
m_ojbahlzt(ServerWorld world, Chunk obj)
m_352269_(C_12_ p_369088_, C_2116_ p_363062_)
public CompoundTag
a()
write()
method_12410()
m_oihexsgu()
serialize()
m_351653_()
private static void
a(ux arg0, dzp$a arg1)
saveTicks(CompoundTag arg0, ChunkAccess$PackedTicks arg1)
method_39311(class_2487 arg0, class_2791$class_6745 arg1)
m_witwcrvn(C_hhlwcnih arg0, C_lwzmmmqr$C_ozbhqkkq arg1)
serializeTicks(NbtCompound nbt, Chunk$TickSchedulers schedulers)
m_351934_(C_4917_ p_366243_, C_2116_$C_345585_ p_367613_)
public static ChunkType
a(ux arg0)
getChunkTypeFromTag(CompoundTag arg0)
method_12377(class_2487 arg0)
m_mfleyxxk(C_hhlwcnih arg0)
getChunkType(NbtCompound nbt)
m_357381_(C_4917_ p_362607_)
private static LevelChunk$PostLoadProcessor
a(ash arg0, List<ux> arg1, List<ux> arg2)
postLoadChunk(ServerLevel arg0, List<CompoundTag> arg1, List<CompoundTag> arg2)
method_12386(class_3218 arg0, List<class_2487> arg1, List<class_2487> arg2)
m_rhdblqpl(C_bdwnwhiu arg0, List<C_hhlwcnih> arg1, List<C_hhlwcnih> arg2)
getEntityLoadingCallback(ServerWorld world, List<NbtCompound> entities, List<NbtCompound> blockEntities)
m_rhdblqpl(ServerWorld world, List<NbtCompound> arg1, List<NbtCompound> arg2)
m_354480_(C_12_ p_367726_, List<C_4917_> p_368624_, List<C_4917_> p_369871_)
private static CompoundTag
a(eoz arg0, dgn arg1, Map<eoj, eor> arg2, Map<eoj, 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)
m_szcfhphl(C_ywyzxrzo arg0, C_ynrszrtu arg1, Map<C_quklzgtb, C_efiavfys> arg2, Map<C_quklzgtb, 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_357250_(C_183029_ p_365342_, C_1560_ p_366115_, Map<C_213164_, C_2588_> p_361842_, Map<C_213164_, it.unimi.dsi.fastutil.longs.LongSet> p_369653_)
private static Map<Structure, StructureStart>
a(eoz arg0, ux arg1, long arg2)
unpackStructureStart(StructurePieceSerializationContext arg0, CompoundTag arg1, long arg2)
method_12392(class_6625 arg0, class_2487 arg1, long arg2)
m_pveuefyz(C_ywyzxrzo arg0, C_hhlwcnih arg1, long arg2)
readStructureStarts(StructureContext context, NbtCompound nbt, long worldSeed)
m_353848_(C_183029_ p_368168_, C_4917_ p_361005_, long p_364111_)
private static Map<Structure, it.unimi.dsi.fastutil.longs.LongSet>
a(ke arg0, dgn arg1, ux arg2)
unpackStructureReferences(RegistryAccess arg0, ChunkPos arg1, CompoundTag arg2)
method_12387(class_5455 arg0, class_1923 arg1, class_2487 arg2)
m_sukgrmkl(C_wqxmvzdq arg0, C_ynrszrtu arg1, C_hhlwcnih arg2)
readStructureReferences(DynamicRegistryManager registryManager, ChunkPos pos, NbtCompound nbt)
m_sukgrmkl(DynamicRegistryManager registryManager, ChunkPos arg1, NbtCompound arg2)
m_353776_(C_4706_ p_360899_, C_1560_ p_366437_, C_4917_ p_368599_)
private 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)
m_enqsvtoe(it.unimi.dsi.fastutil.shorts.ShortList[] arg0)
toNbt(it.unimi.dsi.fastutil.shorts.ShortList[] lists)
m_353061_(it.unimi.dsi.fastutil.shorts.ShortList[] p_365024_)
public Registry<Biome>
b()
biomeRegistry()
comp_2945()
m_ggdcapqe()
biomeRegistry()
biomeRegistry()
f_348426_()
public ChunkPos
c()
chunkPos()
comp_2946()
m_abfhvysz()
chunkPos()
chunkPos()
f_347529_()
public int
d()
minSectionY()
comp_2947()
m_jooizdfq()
minSectionY()
minSectionY()
f_348575_()
public long
e()
lastUpdateTime()
comp_2948()
m_kbrttoks()
lastUpdateTime()
lastUpdateTime()
f_347799_()
public long
f()
inhabitedTime()
comp_2949()
m_zsxptila()
inhabitedTime()
inhabitedTime()
f_348462_()
public ChunkStatus
g()
chunkStatus()
comp_2950()
m_tbfqwgio()
chunkStatus()
chunkStatus()
f_348749_()
public BlendingData$Packed
h()
blendingData()
comp_2951()
m_hmbvrtny()
blendingData()
blendingData()
f_347788_()
public BelowZeroRetrogen
i()
belowZeroRetrogen()
comp_2952()
m_sqzcxzyf()
belowZeroRetrogen()
belowZeroRetrogen()
f_346678_()
public UpgradeData
j()
upgradeData()
comp_2953()
m_nuivjltf()
upgradeData()
upgradeData()
f_346703_()
public long[]
k()
carvingMask()
comp_2954()
m_rqbbzdum()
carvingMask()
carvingMask()
f_346880_()
public Map<Heightmap$Types, long[]>
l()
heightmaps()
comp_2955()
m_dekkbvla()
heightmaps()
heightmaps()
f_347544_()
public ChunkAccess$PackedTicks
m()
packedTicks()
comp_2956()
m_rflrxnho()
packedTicks()
packedTicks()
f_349575_()
public it.unimi.dsi.fastutil.shorts.ShortList[]
n()
postProcessingSections()
comp_2957()
m_cwbuwypj()
postProcessingSections()
postProcessingSections()
f_346447_()
public boolean
o()
lightCorrect()
comp_2958()
m_zyxrwnqi()
lightCorrect()
lightCorrect()
f_346805_()
public List<SerializableChunkData$SectionData>
p()
sectionData()
comp_2959()
m_qbjiagse()
sectionData()
sectionData()
f_347260_()
public List<CompoundTag>
q()
entities()
comp_2960()
m_nudpzzcf()
entities()
entities()
f_349023_()
public List<CompoundTag>
r()
blockEntities()
comp_2961()
m_lqteeuje()
blockEntities()
blockEntities()
f_348663_()
public CompoundTag
s()
structureData()
comp_2962()
m_lrmcfwzt()
structureData()
structureData()
f_346866_()