net.minecraft.world.level.chunk.storage

public record SerializableChunkData

ebl
net.minecraft.world.level.chunk.storage.SerializableChunkData
net.minecraft.class_2852
net.minecraft.world.chunk.SerializedChunk
net.minecraft.world.level.chunk.storage.SerializableChunkData

Field summary

Modifier and TypeField
private final Registry<Biome>
h
biomeRegistry
comp_2945
biomeRegistry
private final ChunkPos
i
chunkPos
comp_2946
chunkPos
private final int
j
minSectionY
comp_2947
minSectionY
private final long
k
lastUpdateTime
comp_2948
lastUpdateTime
private final long
l
inhabitedTime
comp_2949
inhabitedTime
private final ChunkStatus
m
chunkStatus
comp_2950
chunkStatus
private final BlendingData$Packed
n
blendingData
comp_2951
blendingData
private final BelowZeroRetrogen
o
belowZeroRetrogen
comp_2952
belowZeroRetrogen
private final UpgradeData
p
upgradeData
comp_2953
upgradeData
private final long[]
q
carvingMask
comp_2954
carvingMask
private final Map<Heightmap$Types, long[]>
r
heightmaps
comp_2955
heightmaps
private final ChunkAccess$PackedTicks
s
packedTicks
comp_2956
packedTicks
private final it.unimi.dsi.fastutil.shorts.ShortList[]
t
postProcessingSections
comp_2957
postProcessingSections
private final boolean
u
lightCorrect
comp_2958
lightCorrect
private final List<SerializableChunkData$SectionData>
v
sectionData
comp_2959
sectionData
private final List<CompoundTag>
w
entities
comp_2960
entities
private final List<CompoundTag>
x
blockEntities
comp_2961
blockEntities
private final CompoundTag
y
structureData
comp_2962
structureData
private static final com.mojang.serialization.Codec<PalettedContainer<BlockState>>
z
BLOCK_STATE_CODEC
field_34576
CODEC
private static final org.slf4j.Logger
A
LOGGER
field_13001
LOGGER
private static final String
B
TAG_UPGRADE_DATA
field_31413
UPGRADE_DATA_KEY
private static final String
C
BLOCK_TICKS_TAG
field_35476
BLOCK_TICKS
private static final String
D
FLUID_TICKS_TAG
field_35477
FLUID_TICKS
public static final String
a
X_POS_TAG
field_37659
X_POS_KEY
public static final String
b
Z_POS_TAG
field_37660
Z_POS_KEY
public static final String
c
HEIGHTMAPS_TAG
field_37661
HEIGHTMAPS_KEY
public static final String
d
IS_LIGHT_ON_TAG
field_37662
IS_LIGHT_ON_KEY
public static final String
e
SECTIONS_TAG
field_37663
SECTIONS_KEY
public static final String
f
BLOCK_LIGHT_TAG
field_37664
BLOCK_LIGHT_KEY
public static final String
g
SKY_LIGHT_TAG
field_37665
SKY_LIGHT_KEY

Constructor summary

ModifierConstructor
public (Registry<Biome> arg0, ChunkPos arg1, int arg2, long arg3, long arg4, ChunkStatus arg5, BlendingData$Packed arg6, BelowZeroRetrogen arg7, UpgradeData arg8, long[] arg9, Map<Heightmap$Types, long[]> arg10, ChunkAccess$PackedTicks arg11, it.unimi.dsi.fastutil.shorts.ShortList[] arg12, boolean arg13, List<SerializableChunkData$SectionData> arg14, List<CompoundTag> arg15, List<CompoundTag> arg16, CompoundTag arg17)

Method summary

Modifier and TypeMethod
public static SerializableChunkData
a(dhk arg0, ke arg1, ux arg2)
parse(LevelHeightAccessor arg0, RegistryAccess arg1, CompoundTag arg2)
method_61794(class_5539 arg0, class_5455 arg1, class_2487 arg2)
fromNbt(HeightLimitView world, DynamicRegistryManager registryManager, NbtCompound nbt)
public ProtoChunk
a(ash arg0, chk arg1, ebj arg2, dgo arg3)
read(ServerLevel arg0, PoiManager arg1, RegionStorageInfo arg2, ChunkPos arg3)
method_12395(class_3218 arg0, class_4153 arg1, class_9240 arg2, class_1923 arg3)
convert(ServerWorld world, PointOfInterestStorage poiStorage, StorageKey key, ChunkPos expectedPos)
private static void
a(dgo 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)
private static com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>>
a(kd<dik> arg0)
makeBiomeCodec(Registry<Biome> arg0)
method_39036(class_2378<class_1959> arg0)
createCodec(Registry<Biome> biomeRegistry)
public static SerializableChunkData
a(ash arg0, dzq arg1)
copyOf(ServerLevel arg0, ChunkAccess arg1)
method_61793(class_3218 arg0, class_2791 arg1)
fromChunk(ServerWorld world, Chunk chunk)
public CompoundTag
a()
write()
method_12410()
serialize()
private static void
a(ux arg0, dzq$a arg1)
saveTicks(CompoundTag arg0, ChunkAccess$PackedTicks arg1)
method_39311(class_2487 arg0, class_2791$class_6745 arg1)
serializeTicks(NbtCompound nbt, Chunk$TickSchedulers schedulers)
public static ChunkType
a(ux arg0)
getChunkTypeFromTag(CompoundTag arg0)
method_12377(class_2487 arg0)
getChunkType(NbtCompound nbt)
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)
getEntityLoadingCallback(ServerWorld world, List<NbtCompound> entities, List<NbtCompound> blockEntities)
private static CompoundTag
a(epa arg0, dgo arg1, Map<eok, eos> arg2, Map<eok, 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)
private static Map<Structure, StructureStart>
a(epa arg0, ux 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)
private static Map<Structure, it.unimi.dsi.fastutil.longs.LongSet>
a(ke arg0, dgo arg1, ux 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)
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)
toNbt(it.unimi.dsi.fastutil.shorts.ShortList[] lists)
public Registry<Biome>
b()
biomeRegistry()
comp_2945()
biomeRegistry()
public ChunkPos
c()
chunkPos()
comp_2946()
chunkPos()
public int
d()
minSectionY()
comp_2947()
minSectionY()
public long
e()
lastUpdateTime()
comp_2948()
lastUpdateTime()
public long
f()
inhabitedTime()
comp_2949()
inhabitedTime()
public ChunkStatus
g()
chunkStatus()
comp_2950()
chunkStatus()
public BlendingData$Packed
h()
blendingData()
comp_2951()
blendingData()
public BelowZeroRetrogen
i()
belowZeroRetrogen()
comp_2952()
belowZeroRetrogen()
public UpgradeData
j()
upgradeData()
comp_2953()
upgradeData()
public long[]
k()
carvingMask()
comp_2954()
carvingMask()
public Map<Heightmap$Types, long[]>
l()
heightmaps()
comp_2955()
heightmaps()
public ChunkAccess$PackedTicks
m()
packedTicks()
comp_2956()
packedTicks()
public it.unimi.dsi.fastutil.shorts.ShortList[]
n()
postProcessingSections()
comp_2957()
postProcessingSections()
public boolean
o()
lightCorrect()
comp_2958()
lightCorrect()
public List<SerializableChunkData$SectionData>
p()
sectionData()
comp_2959()
sectionData()
public List<CompoundTag>
q()
entities()
comp_2960()
entities()
public List<CompoundTag>
r()
blockEntities()
comp_2961()
blockEntities()
public CompoundTag
s()
structureData()
comp_2962()
structureData()