net.minecraft.world.level.chunk

public abstract class ChunkAccess

implements BiomeManager$NoiseBiomeSource, LightChunk, StructureAccess

ece
net.minecraft.world.level.chunk.ChunkAccess
net.minecraft.class_2791
net.minecraft.unmapped.C_lwzmmmqr
net.minecraft.world.chunk.Chunk
net.minecraft.world.chunk.Chunk

Field summary

Modifier and TypeField
public static final int
a
NO_FILLED_SECTION
field_44632
f_wmkaeyys
MISSING_SECTION
MISSING_SECTION
private static final org.slf4j.Logger
n
LOGGER
field_34548
f_qgjzftug
LOGGER
LOGGER
private static final it.unimi.dsi.fastutil.longs.LongSet
o
EMPTY_REFERENCE_SET
field_37052
f_tzjcpbqq
EMPTY_STRUCTURE_REFERENCES
EMPTY_STRUCTURE_REFERENCES
protected final it.unimi.dsi.fastutil.shorts.ShortList[]
b
postProcessing
field_34536
f_insxllog
postProcessingLists
postProcessingLists
private volatile boolean
p
unsaved
field_34537
f_exnoqcnn
needsSaving
needsSaving
private volatile boolean
q
isLightCorrect
field_34549
f_vjmuaqdt
lightOn
lightCorrect
protected final ChunkPos
c
chunkPos
field_34538
f_rvokxhzu
pos
pos
private long
r
inhabitedTime
field_34550
f_hyppsjnp
inhabitedTime
inhabitedTime
private BiomeGenerationSettings
s
carverBiomeSettings
field_39411
f_dmhuunxg
generationSettings
settings
protected NoiseChunk
d
noiseChunk
field_34539
f_enzfbrzj
chunkNoiseSampler
chunkNoiseSampler
protected final UpgradeData
e
upgradeData
field_34540
f_zemxxetf
upgradeData
upgradeData
protected BlendingData
f
blendingData
field_35468
f_fqheruhs
blendingData
blendingData
protected final Map<Heightmap$Types, Heightmap>
h
heightmaps
field_34541
f_prkvftsr
heightmaps
heightmaps
protected ChunkSkyLightSources
i
skyLightSources
field_44708
f_tvmxdtur
chunkSkyLight
skyLightSources
private final Map<Structure, StructureStart>
t
structureStarts
field_34552
f_bfbtcire
structureStarts
structureStarts
private final Map<Structure, it.unimi.dsi.fastutil.longs.LongSet>
u
structuresRefences
field_34553
f_uubjectd
structureReferences
structureReferences
protected final Map<BlockPos, CompoundTag>
j
pendingBlockEntities
field_34542
f_ddivbvrk
blockEntityNbts
blockEntityNbts
protected final Map<BlockPos, BlockEntity>
k
blockEntities
field_34543
f_rbkdoznl
blockEntities
blockEntities
protected final LevelHeightAccessor
l
levelHeightAccessor
field_34544
f_eflzqkft
heightLimitView
heightLimitView
protected final LevelChunkSection[]
m
sections
field_34545
f_lmynvwzp
sectionArray
sectionArray

Constructor summary

ModifierConstructor
public (ChunkPos pos, UpgradeData upgradeData, LevelHeightAccessor heightLimitView, Registry<Biome> biomeRegistry, long inhabitedTime, LevelChunkSection[] sectionArray, BlendingData blendingData)

Method summary

Modifier and TypeMethod
private static void
a(jr<dkd> arg0, ecp[] arg1)
replaceMissingSections(Registry<Biome> arg0, LevelChunkSection[] arg1)
method_38256(class_2378<class_1959> arg0, class_2826[] arg1)
m_pornhcnk(C_tqxyjqsk<C_orlkpefs> arg0, C_aurosfgf[] arg1)
fillSectionArray(Registry<Biome> biomeRegistry, ChunkSection[] sectionArray)
fillSectionArray(Registry<Biome> biomeRegistry, ChunkSection[] sectionArray)
public GameEventListenerRegistry
a(int arg0)
getListenerRegistry(int arg0)
method_32914(int arg0)
m_fbrqbtve(int arg0)
getGameEventDispatcher(int ySectionCoord)
getListenerRegistry(int sectionY)
public BlockState
a(iu arg0, eah arg1)
setBlockState(BlockPos arg0, BlockState arg1)
method_66480(class_2338 arg0, class_2680 arg1)
m_gjksdygl(C_hynzadkk arg0, C_txtbiemp arg1)
setBlockState(BlockPos pos, BlockState state)
m_gjksdygl(BlockPos pos, BlockState state)
public abstract BlockState
a(iu arg0, eah arg1, int arg2)
setBlockState(BlockPos arg0, BlockState arg1, int arg2)
method_12010(class_2338 arg0, class_2680 arg1, int arg2)
m_zhcsnntn(C_hynzadkk arg0, C_txtbiemp arg1, int arg2)
setBlockState(BlockPos pos, BlockState state, int flags)
m_zhcsnntn(BlockPos pos, BlockState state, int arg2)
public abstract void
a(dxf arg0)
setBlockEntity(BlockEntity arg0)
method_12007(class_2586 arg0)
m_hguftcvs(C_kvegafmh arg0)
setBlockEntity(BlockEntity blockEntity)
setBlockEntity(BlockEntity arg0)
public abstract void
a(bwf arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
m_blkwaqtb(C_astfners arg0)
addEntity(Entity entity)
addEntity(Entity entity)
public int
a()
getHighestFilledSectionIndex()
method_12040()
m_dxzkqlmi()
getHighestNonEmptySection()
getHighestFilledSection()
public int
b()
getHighestSectionPosition()
method_12031()
m_pzyvuftt()
getHighestNonEmptySectionYOffset()
getHighestFilledSectionYOffset()
public Set<BlockPos>
c()
getBlockEntitiesPos()
method_12021()
m_lbczmzpt()
getBlockEntityPositions()
getBlockEntityPositions()
public LevelChunkSection[]
d()
getSections()
method_12006()
m_coitboyr()
getSectionArray()
getSectionArray()
public LevelChunkSection
b(int arg0)
getSection(int arg0)
method_38259(int arg0)
m_rqpedvcc(int arg0)
getSection(int yIndex)
getSection(int section)
public Collection<Map$Entry<Heightmap$Types, Heightmap>>
e()
getHeightmaps()
method_12011()
m_xkejgfig()
getHeightmaps()
getHeightmaps()
public void
a(egg$a arg0, long[] arg1)
setHeightmap(Heightmap$Types arg0, long[] arg1)
method_12037(class_2902$class_2903 arg0, long[] arg1)
m_vydgjigk(C_ybztoekc$C_wkdeqzbn arg0, long[] arg1)
setHeightmap(Heightmap$Type type, long[] heightmap)
setHeightmap(Heightmap$Type type, long[] heightmap)
public Heightmap
a(egg$a arg0)
getOrCreateHeightmapUnprimed(Heightmap$Types arg0)
method_12032(class_2902$class_2903 arg0)
m_pmdbdcxs(C_ybztoekc$C_wkdeqzbn arg0)
getHeightmap(Heightmap$Type type)
getHeightmap(Heightmap$Type type)
public boolean
b(egg$a arg0)
hasPrimedHeightmap(Heightmap$Types arg0)
method_39295(class_2902$class_2903 arg0)
m_tmmlzzvg(C_ybztoekc$C_wkdeqzbn arg0)
hasHeightmap(Heightmap$Type type)
hasHeightmap(Heightmap$Type type)
public int
a(egg$a arg0, int arg1, int arg2)
getHeight(Heightmap$Types arg0, int arg1, int arg2)
method_12005(class_2902$class_2903 arg0, int arg1, int arg2)
m_ecoidqld(C_ybztoekc$C_wkdeqzbn arg0, int arg1, int arg2)
sampleHeightmap(Heightmap$Type type, int x, int z)
sampleHeightmap(Heightmap$Type type, int x, int z)
public ChunkPos
f()
getPos()
method_12004()
m_oeshvinu()
getPos()
getPos()
public StructureStart
a(erb arg0)
getStartForStructure(Structure arg0)
method_12181(class_3195 arg0)
m_xrnbkauz(C_quklzgtb arg0)
getStructureStart(Structure arg0)
getStructureStart(StructureFeature arg0)
public void
a(erb arg0, erj arg1)
setStartForStructure(Structure arg0, StructureStart arg1)
method_12184(class_3195 arg0, class_3449 arg1)
m_pvlhddmd(C_quklzgtb arg0, C_efiavfys arg1)
setStructureStart(Structure arg0, StructureStart arg1)
setStructureStart(StructureFeature arg0, StructureStart arg1)
public Map<Structure, StructureStart>
g()
getAllStarts()
method_12016()
m_itzisycv()
getStructureStarts()
getStructureStarts()
public void
a(Map<erb, erj> arg0)
setAllStarts(Map<Structure, StructureStart> arg0)
method_12034(Map<class_3195, class_3449> arg0)
m_rirvxrfe(Map<C_quklzgtb, C_efiavfys> arg0)
setStructureStarts(Map<Structure, StructureStart> structureStarts)
setStructureStarts(Map<StructureFeature, StructureStart> structureStarts)
public it.unimi.dsi.fastutil.longs.LongSet
b(erb arg0)
getReferencesForStructure(Structure arg0)
method_12180(class_3195 arg0)
m_svqvtqfp(C_quklzgtb arg0)
getStructureReferences(Structure arg0)
getStructureReferences(StructureFeature arg0)
public void
a(erb arg0, long arg1)
addReferenceForStructure(Structure arg0, long arg1)
method_12182(class_3195 arg0, long arg1)
m_xqpwvlyw(C_quklzgtb arg0, long arg1)
addStructureReference(Structure arg0, long arg1)
addStructureReference(StructureFeature arg0, long arg1)
public Map<Structure, it.unimi.dsi.fastutil.longs.LongSet>
h()
getAllReferences()
method_12179()
m_zjjsiikg()
getStructureReferences()
getStructureReferences()
public void
b(Map<erb, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setAllReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> arg0)
method_12183(Map<class_3195, it.unimi.dsi.fastutil.longs.LongSet> arg0)
m_fejlmeve(Map<C_quklzgtb, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setStructureReferences(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setStructureReferences(Map<StructureFeature, it.unimi.dsi.fastutil.longs.LongSet> arg0)
public boolean
a(int arg0, int arg1)
isYSpaceEmpty(int arg0, int arg1)
method_12228(int arg0, int arg1)
m_udykeqsw(int arg0, int arg1)
areSectionsEmptyBetween(int lowerHeight, int upperHeight)
areSectionsEmptyBetween(int lowerHeight, int upperHeight)
public boolean
c(int arg0)
isSectionEmpty(int arg0)
method_60791(int arg0)
m_puwtdbeb(int arg0)
isSectionEmpty(int sectionCoord)
isSectionEmpty(int coord)
public void
i()
markUnsaved()
method_65063()
m_twktjquw()
markNeedsSaving()
markNeedsSaving()
public boolean
j()
tryMarkSaved()
method_65064()
m_pcowjlry()
tryMarkSaved()
tryMarkSaved()
public boolean
k()
isUnsaved()
method_12044()
m_fhrvmsma()
needsSaving()
needsSaving()
public abstract ChunkStatus
n()
getPersistedStatus()
method_12009()
m_rbxakgwa()
getStatus()
getStatus()
public ChunkStatus
o()
getHighestGeneratedStatus()
method_51526()
m_edeniyps()
getMaxStatus()
getHighestChunkStatus()
public abstract void
d(iu arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
m_uwgruiru(C_hynzadkk arg0)
removeBlockEntity(BlockPos pos)
removeBlockEntity(BlockPos pos)
public void
e(iu arg0)
markPosForPostprocessing(BlockPos arg0)
method_12039(class_2338 arg0)
m_rxqzlewx(C_hynzadkk arg0)
markBlockForPostProcessing(BlockPos pos)
markBlockForPostProcessing(BlockPos pos)
public it.unimi.dsi.fastutil.shorts.ShortList[]
p()
getPostProcessing()
method_12012()
m_eoqbertz()
getPostProcessingLists()
getPostProcessingLists()
public void
a(it.unimi.dsi.fastutil.shorts.ShortList arg0, int arg1)
addPackedPostProcess(it.unimi.dsi.fastutil.shorts.ShortList arg0, int arg1)
method_12029(it.unimi.dsi.fastutil.shorts.ShortList arg0, int arg1)
m_qdoylksi(it.unimi.dsi.fastutil.shorts.ShortList arg0, int arg1)
markBlocksForPostProcessing(it.unimi.dsi.fastutil.shorts.ShortList packedPositions, int index)
markBlockForPostProcessing(it.unimi.dsi.fastutil.shorts.ShortList sections, int index)
public void
a(tz arg0)
setBlockEntityNbt(CompoundTag arg0)
method_12042(class_2487 arg0)
m_vczfecac(C_hhlwcnih arg0)
addPendingBlockEntityNbt(NbtCompound nbt)
setBlockEntityNbt(NbtCompound nbt)
public CompoundTag
f(iu arg0)
getBlockEntityNbt(BlockPos arg0)
method_12024(class_2338 arg0)
m_sogpxvqe(C_hynzadkk arg0)
getBlockEntityNbt(BlockPos pos)
getBlockEntityNbt(BlockPos pos)
public abstract CompoundTag
a(iu arg0, jg$a arg1)
getBlockEntityNbtForSaving(BlockPos arg0, HolderLookup$Provider arg1)
method_20598(class_2338 arg0, class_7225$class_7874 arg1)
m_smvmtzoy(C_hynzadkk arg0, C_vtbxyypo$C_etmlgbig arg1)
getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper$WrapperLookup registries)
getPackedBlockEntityNbt(BlockPos pos, HolderLookup$Provider arg1)
public final void
a(BiConsumer<iu, eah> arg0)
findBlockLightSources(BiConsumer<BlockPos, BlockState> arg0)
method_51524(BiConsumer<class_2338, class_2680> arg0)
m_xxfimgze(BiConsumer<C_hynzadkk, C_txtbiemp> arg0)
forEachLightSource(BiConsumer<BlockPos, BlockState> arg0)
findBlockLightSources(BiConsumer<BlockPos, BlockState> arg0)
public void
a(Predicate<eah> arg0, BiConsumer<iu, eah> arg1)
findBlocks(Predicate<BlockState> arg0, BiConsumer<BlockPos, BlockState> arg1)
method_51525(Predicate<class_2680> arg0, BiConsumer<class_2338, class_2680> arg1)
m_mfgzazfz(Predicate<C_txtbiemp> arg0, BiConsumer<C_hynzadkk, C_txtbiemp> arg1)
forEachBlockMatchingPredicate(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer)
forEachMatch(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer)
public abstract TickContainerAccess<Block>
q()
getBlockTicks()
method_12013()
m_fmezrwqz()
getBlockTickScheduler()
getBlockTickScheduler()
public abstract TickContainerAccess<Fluid>
r()
getFluidTicks()
method_12014()
m_xwsabvci()
getFluidTickScheduler()
getFluidTickScheduler()
public boolean
s()
canBeSerialized()
method_65069()
m_mkactvip()
isSerializable()
isSerializable()
public abstract ChunkAccess$PackedTicks
a(long arg0)
getTicksForSerialization(long arg0)
method_39296(long arg0)
m_wljtnein(long arg0)
getTickSchedulers(long time)
getTicksForSerialization(long arg0)
public UpgradeData
t()
getUpgradeData()
method_12003()
m_ifohhonx()
getUpgradeData()
getUpgradeData()
public boolean
u()
isOldNoiseGeneration()
method_39297()
m_cprmtzeh()
usesOldNoise()
isOldNoise()
public BlendingData
v()
getBlendingData()
method_39299()
m_cebllhal()
getBlendingData()
getBlendingData()
public long
w()
getInhabitedTime()
method_12033()
m_yuipgvpr()
getInhabitedTime()
getInhabitedTime()
public void
b(long arg0)
incrementInhabitedTime(long arg0)
method_38870(long arg0)
m_alxritfm(long arg0)
increaseInhabitedTime(long timeDelta)
increaseInhabitedTime(long delta)
public void
c(long arg0)
setInhabitedTime(long arg0)
method_12028(long arg0)
m_qaecgkls(long arg0)
setInhabitedTime(long inhabitedTime)
setInhabitedTime(long inhabitedTime)
public static it.unimi.dsi.fastutil.shorts.ShortList
a(it.unimi.dsi.fastutil.shorts.ShortList[] arg0, int arg1)
getOrCreateOffsetList(it.unimi.dsi.fastutil.shorts.ShortList[] arg0, int arg1)
method_12026(it.unimi.dsi.fastutil.shorts.ShortList[] arg0, int arg1)
m_erkpagse(it.unimi.dsi.fastutil.shorts.ShortList[] arg0, int arg1)
getList(it.unimi.dsi.fastutil.shorts.ShortList[] lists, int index)
getList(it.unimi.dsi.fastutil.shorts.ShortList[] lists, int index)
public boolean
x()
isLightCorrect()
method_12038()
m_ryislatp()
isLightOn()
isLightCorrect()
public void
a(boolean arg0)
setLightCorrect(boolean arg0)
method_12020(boolean arg0)
m_yrcpifpe(boolean arg0)
setLightOn(boolean lightOn)
setLightCorrect(boolean lightCorrect)
public int
G_()
getMinY()
method_31607()
m_muuyasqa()
getBottomY()
getBottomY()
public int
H_()
getHeight()
method_31605()
m_ogckdmbr()
getHeight()
getHeight()
public NoiseChunk
a(Function<ece, egk> arg0)
getOrCreateNoiseChunk(Function<ChunkAccess, NoiseChunk> arg0)
method_38255(Function<class_2791, class_6568> arg0)
m_ntljehgr(Function<C_lwzmmmqr, C_rvjywqnu> arg0)
getOrCreateChunkNoiseSampler(Function<Chunk, ChunkNoiseSampler> chunkNoiseSamplerCreator)
getOrCreateChunkNoiseSampler(Function<Chunk, ChunkNoiseSampler> noiseSamplerCreator)
public BiomeGenerationSettings
a(Supplier<dke> arg0)
carverBiome(Supplier<BiomeGenerationSettings> arg0)
method_44214(Supplier<class_5485> arg0)
m_ekgzezwt(Supplier<C_qbjpvmph> arg0)
getOrCreateGenerationSettings(Supplier<GenerationSettings> generationSettingsCreator)
setCarverBiomeIfAbsent(Supplier<GenerationSettings> biomeFactory)
public Holder<Biome>
getNoiseBiome(int arg0, int arg1, int arg2)
getNoiseBiome(int arg0, int arg1, int arg2)
method_16359(int arg0, int arg1, int arg2)
getBiomeForNoiseGen(int arg0, int arg1, int arg2)
public void
a(dkg arg0, dkm$f arg1)
fillBiomesFromNoise(BiomeResolver arg0, Climate$Sampler arg1)
method_38257(class_6780 arg0, class_6544$class_6552 arg1)
m_rgzeprey(C_nhlknxak arg0, C_ohqwadgy$C_pigoipju arg1)
populateBiomes(BiomeSupplier biomeSupplier, MultiNoiseUtil$MultiNoiseSampler sampler)
setBiomesFromNoise(BiomeSupplier biomeSupplier, MultiNoiseUtil$MultiNoiseSampler sampler)
public boolean
y()
hasAnyStructureReferences()
method_38871()
m_ptmjitse()
hasStructureReferences()
hasStructureReferences()
public BelowZeroRetrogen
z()
getBelowZeroRetrogen()
method_39300()
m_qlsrwmuw()
getBelowZeroRetrogen()
getBelowZeroRetrogen()
public boolean
A()
isUpgrading()
method_39461()
m_pkqflpwq()
hasBelowZeroRetrogen()
hasBelowZeroRetrogen()
public LevelHeightAccessor
B()
getHeightAccessorForGeneration()
method_39460()
m_jnwohgqe()
getHeightLimitView()
getHeightLimitView()
public void
C()
initializeLightSources()
method_51522()
m_ymukudgt()
refreshSurfaceY()
fillSkyLightSources()
public ChunkSkyLightSources
D()
getSkyLightSources()
method_12018()
m_efhugczn()
getChunkSkyLight()
getSkyLightSources()