net.minecraft.world.level.chunk.storage

public record SerializableChunkData

eao
net.minecraft.world.level.chunk.storage.SerializableChunkData
net.minecraft.class_2852
net.minecraft.unmapped.C_dnvmojll
net.minecraft.world.chunk.SerializedChunk
net.minecraft.world.chunk.ChunkSerializer
net.minecraft.src.C_345914_
net.minecraft.world.level.chunk.storage.SerializableChunkData

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
UPGRADE_DATA_KEY
f_348475_
private static final String
C
BLOCK_TICKS_TAG
field_35476
f_xlwuxnar
BLOCK_TICKS
BLOCK_TICKS_KEY
f_347435_
private static final String
D
FLUID_TICKS_TAG
field_35477
f_mtwxfqit
FLUID_TICKS
FLUID_TICKS_KEY
f_348892_
public static final String
a
X_POS_TAG
field_37659
f_mklmvmae
X_POS_KEY
X_POS_KEY
f_347201_
public static final String
b
Z_POS_TAG
field_37660
f_wsvmmbbn
Z_POS_KEY
Y_POS_KEY
f_347955_
public static final String
c
HEIGHTMAPS_TAG
field_37661
f_hfxvzyma
HEIGHTMAPS_KEY
HEIGHTMAPS_KEY
f_347376_
public static final String
d
IS_LIGHT_ON_TAG
field_37662
f_hnfzklwk
IS_LIGHT_ON_KEY
IS_LIGHT_ON_KEY
f_347049_
public static final String
e
SECTIONS_TAG
field_37663
f_cwbapxrc
SECTIONS_KEY
SECTIONS_KEY
f_348504_
public static final String
f
BLOCK_LIGHT_TAG
field_37664
f_ngycygnv
BLOCK_LIGHT_KEY
BLOCKS_LIGHT_KEY
f_349272_
public static final String
g
SKY_LIGHT_TAG
field_37665
f_yxnupgxy
SKY_LIGHT_KEY
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(dgl arg0, kf arg1, tq 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)
fromNbt(HeightLimitView world, DynamicRegistryManager registryManager, NbtCompound nbt)
m_354258_(C_141183_ p_366637_, C_4706_ p_364474_, C_4917_ p_368975_)
public ProtoChunk
a(ard arg0, cgm arg1, eam arg2, dfp 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)
createProtoChunk(ServerWorld world, PointOfInterestStorage pointOfInterestStorage, RegionStorageKey key, ChunkPos pos)
m_357393_(C_12_ p_362734_, C_787_ p_366907_, C_313747_ p_363624_, C_1560_ arg3)
private static void
a(dfp 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)
logRecoverableError(ChunkPos pos, int i, String error)
m_351671_(C_1560_ p_362005_, int p_366847_, String p_369695_)
private static com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>>
a(ke<dhl> arg0)
makeBiomeCodec(Registry<Biome> arg0)
method_39036(class_2378<class_1959> arg0)
m_esrqtgyo(C_tqxyjqsk<C_orlkpefs> arg0)
createCodec(Registry<Biome> biomeRegistry)
createReadableCodec(Registry<Biome> registry)
m_355410_(C_4705_<C_1629_> p_368397_)
public static SerializableChunkData
a(ard arg0, dyt 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)
of(ServerWorld world, Chunk chunk)
m_352269_(C_12_ p_369088_, C_2116_ p_363062_)
public CompoundTag
a()
write()
method_12410()
m_oihexsgu()
serialize()
toNbt()
m_351653_()
private static void
a(tq arg0, dyt$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)
putTicks(NbtCompound nbt, Chunk$PackedTicks ticks)
m_351934_(C_4917_ p_366243_, C_2116_$C_345585_ p_367613_)
public static ChunkType
a(tq arg0)
getChunkTypeFromTag(CompoundTag arg0)
method_12377(class_2487 arg0)
m_mfleyxxk(C_hhlwcnih arg0)
getChunkType(NbtCompound nbt)
getChunkType(NbtCompound chunkNbt)
m_357381_(C_4917_ p_362607_)
private static LevelChunk$PostLoadProcessor
a(ard arg0, List<tq> arg1, List<tq> 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)
createProcessor(ServerWorld world, List<NbtCompound> entities, List<NbtCompound> blockEntities)
m_354480_(C_12_ p_367726_, List<C_4917_> p_368624_, List<C_4917_> p_369871_)
private static CompoundTag
a(eod arg0, dfp arg1, Map<enn, env> arg2, Map<enn, 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)
createStructureNbt(StructurePieceSerializationContext context, ChunkPos pos, Map<StructureFeature, StructureStart> structureStarts, Map<StructureFeature, it.unimi.dsi.fastutil.longs.LongSet> structureReferences)
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(eod arg0, tq 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)
parseStructureStarts(StructurePieceSerializationContext 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(kf arg0, dfp arg1, tq 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)
parseStructureReferences(DynamicRegistryManager registryManager, ChunkPos pos, NbtCompound nbt)
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)
createSectionsNbt(it.unimi.dsi.fastutil.shorts.ShortList[] sections)
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_()