net.minecraft.world.level.chunk

public abstract class ChunkAccess

implements BlockGetter, BiomeManager$NoiseBiomeSource, FeatureAccess

cpy
net.minecraft.world.level.chunk.ChunkAccess
net.minecraft.class_2791
net.minecraft.unmapped.C_lwzmmmqr
net.minecraft.world.chunk.Chunk
net.minecraft.src.C_2116_
net.minecraft.world.level.chunk.IChunkAccess

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
l
LOGGER
field_34548
f_qgjzftug
field_34548
f_187613_
protected final it.unimi.dsi.fastutil.shorts.ShortList[]
a
postProcessing
field_34536
f_insxllog
postProcessingLists
f_187602_
protected volatile boolean
b
unsaved
field_34537
f_exnoqcnn
needsSaving
f_187603_
private volatile boolean
m
isLightCorrect
field_34549
f_vjmuaqdt
lightOn
f_187614_
protected final ChunkPos
c
chunkPos
field_34538
f_rvokxhzu
pos
f_187604_
private long
n
inhabitedTime
field_34550
f_hyppsjnp
inhabitedTime
f_187615_
private Biome
o
carverBiome
field_34551
f_ofmwavkz
biome
f_187616_
protected NoiseChunk
d
noiseChunk
field_34539
f_enzfbrzj
chunkNoiseSampler
f_187605_
protected final UpgradeData
e
upgradeData
field_34540
f_zemxxetf
upgradeData
f_187606_
protected BlendingData
f
blendingData
field_35468
f_fqheruhs
blendingData
f_187607_
protected final Map<Heightmap$Types, Heightmap>
g
heightmaps
field_34541
f_prkvftsr
heightmaps
f_187608_
private final Map<StructureFeature<?>, StructureStart<?>>
p
structureStarts
field_34552
f_bfbtcire
structureStarts
f_187617_
private final Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet>
q
structuresRefences
field_34553
f_uubjectd
structureReferences
f_187618_
protected final Map<BlockPos, CompoundTag>
h
pendingBlockEntities
field_34542
f_ddivbvrk
blockEntityNbts
f_187609_
protected final Map<BlockPos, BlockEntity>
i
blockEntities
field_34543
f_rbkdoznl
blockEntities
f_187610_
protected final LevelHeightAccessor
j
levelHeightAccessor
field_34544
f_eflzqkft
heightLimitView
f_187611_
protected final LevelChunkSection[]
k
sections
field_34545
f_lmynvwzp
sectionArray
f_187612_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static void
a(caf arg0, gx<caz> arg1, cqj[] arg2)
replaceMissingSections(LevelHeightAccessor arg0, Registry<Biome> arg1, LevelChunkSection[] arg2)
method_38256(class_5539 arg0, class_2378<class_1959> arg1, class_2826[] arg2)
m_pornhcnk(C_qpninoyb arg0, C_tqxyjqsk<C_orlkpefs> arg1, C_aurosfgf[] arg2)
fillSectionArray(HeightLimitView world, Registry<Biome> biome, ChunkSection[] sectionArray)
m_187634_(C_141183_ p_187635_, C_4705_<C_1629_> p_187636_, C_2139_[] p_187637_)
public GameEventDispatcher
a(int arg0)
getEventDispatcher(int arg0)
method_32914(int arg0)
m_comrxvzs(int arg0)
getGameEventDispatcher(int ySectionCoord)
m_142336_(int arg0)
public abstract BlockState
a(gh arg0, coc arg1, boolean arg2)
setBlockState(BlockPos arg0, BlockState arg1, boolean arg2)
method_12010(class_2338 arg0, class_2680 arg1, boolean arg2)
m_qhwssies(C_hynzadkk arg0, C_txtbiemp arg1, boolean arg2)
setBlockState(BlockPos pos, BlockState state, boolean moved)
m_6978_(C_4675_ p_62088_, C_2064_ p_62089_, boolean arg2)
public abstract void
a(clz arg0)
setBlockEntity(BlockEntity arg0)
method_12007(class_2586 arg0)
m_hguftcvs(C_kvegafmh arg0)
setBlockEntity(BlockEntity blockEntity)
m_142169_(C_1991_ arg0)
public abstract void
a(awt arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
m_blkwaqtb(C_astfners arg0)
addEntity(Entity entity)
m_6286_(C_507_ arg0)
public LevelChunkSection
a()
getHighestSection()
method_12040()
m_mrvpghin()
getHighestNonEmptySection()
m_62074_()
public int
b()
getHighestSectionPosition()
method_12031()
m_pzyvuftt()
getHighestNonEmptySectionYOffset()
m_62098_()
public Set<BlockPos>
c()
getBlockEntitiesPos()
method_12021()
m_lbczmzpt()
getBlockEntityPositions()
m_5928_()
public LevelChunkSection[]
d()
getSections()
method_12006()
m_coitboyr()
getSectionArray()
m_7103_()
public LevelChunkSection
b(int arg0)
getSection(int arg0)
method_38259(int arg0)
m_rqpedvcc(int arg0)
getSection(int yIndex)
m_183278_(int arg0)
public Collection<Map$Entry<Heightmap$Types, Heightmap>>
e()
getHeightmaps()
method_12011()
m_xkejgfig()
getHeightmaps()
m_6890_()
public void
a(ctc$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)
m_6511_(C_2190_$C_2191_ p_62084_, long[] arg1)
public Heightmap
a(ctc$a arg0)
getOrCreateHeightmapUnprimed(Heightmap$Types arg0)
method_12032(class_2902$class_2903 arg0)
m_pmdbdcxs(C_ybztoekc$C_wkdeqzbn arg0)
getHeightmap(Heightmap$Type type)
m_6005_(C_2190_$C_2191_ arg0)
public boolean
b(ctc$a arg0)
hasPrimedHeightmap(Heightmap$Types arg0)
method_39295(class_2902$class_2903 arg0)
m_tmmlzzvg(C_ybztoekc$C_wkdeqzbn arg0)
hasHeightmap(Heightmap$Type type)
m_187658_(C_2190_$C_2191_ arg0)
public int
a(ctc$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)
m_5885_(C_2190_$C_2191_ p_62081_, int p_62082_, int arg2)
public ChunkPos
f()
getPos()
method_12004()
m_oeshvinu()
getPos()
m_7697_()
public StructureStart<?>
a(cyi<?> arg0)
getStartForFeature(StructureFeature<?> arg0)
method_12181(class_3195<?> arg0)
m_ewbgzgif(C_vvmtobpf<?> arg0)
getStructureStart(StructureFeature<?> arg0)
m_7253_(C_2304_<?> arg0)
public void
a(cyi<?> arg0, dfh<?> arg1)
setStartForFeature(StructureFeature<?> arg0, StructureStart<?> arg1)
method_12184(class_3195<?> arg0, class_3449<?> arg1)
m_dwajtiei(C_vvmtobpf<?> arg0, C_efiavfys<?> arg1)
setStructureStart(StructureFeature<?> arg0, StructureStart<?> arg1)
m_8078_(C_2304_<?> p_187654_, C_2588_<?> arg1)
public Map<StructureFeature<?>, StructureStart<?>>
g()
getAllStarts()
method_12016()
m_itzisycv()
getStructureStarts()
m_6633_()
public void
a(Map<cyi<?>, dfh<?>> arg0)
setAllStarts(Map<StructureFeature<?>, StructureStart<?>> arg0)
method_12034(Map<class_3195<?>, class_3449<?>> arg0)
m_rirvxrfe(Map<C_vvmtobpf<?>, C_efiavfys<?>> arg0)
setStructureStarts(Map<StructureFeature<?>, StructureStart<?>> structureStarts)
m_8040_(Map<C_2304_<?>, C_2588_<?>> arg0)
public it.unimi.dsi.fastutil.longs.LongSet
b(cyi<?> arg0)
getReferencesForFeature(StructureFeature<?> arg0)
method_12180(class_3195<?> arg0)
m_kminhxue(C_vvmtobpf<?> arg0)
getStructureReferences(StructureFeature<?> arg0)
m_6705_(C_2304_<?> arg0)
public void
a(cyi<?> arg0, long arg1)
addReferenceForFeature(StructureFeature<?> arg0, long arg1)
method_12182(class_3195<?> arg0, long arg1)
m_mlrsznfc(C_vvmtobpf<?> arg0, long arg1)
addStructureReference(StructureFeature<?> arg0, long arg1)
m_6306_(C_2304_<?> p_187651_, long arg1)
public Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet>
h()
getAllReferences()
method_12179()
m_xngtobam()
getStructureReferences()
m_7049_()
public void
b(Map<cyi<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setAllReferences(Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
method_12183(Map<class_3195<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
m_valtinfh(Map<C_vvmtobpf<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setStructureReferences(Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
m_7946_(Map<C_2304_<?>, 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)
m_5566_(int p_62076_, int arg1)
public void
a(boolean arg0)
setUnsaved(boolean arg0)
method_12008(boolean arg0)
m_jcgsgwwo(boolean arg0)
setShouldSave(boolean shouldSave)
m_8092_(boolean arg0)
public boolean
i()
isUnsaved()
method_12044()
m_fhrvmsma()
needsSaving()
m_6344_()
public abstract ChunkStatus
j()
getStatus()
method_12009()
m_qkpdcbbf()
getStatus()
m_6415_()
public abstract void
d(gh arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
m_uwgruiru(C_hynzadkk arg0)
removeBlockEntity(BlockPos pos)
m_8114_(C_4675_ arg0)
public void
e(gh arg0)
markPosForPostprocessing(BlockPos arg0)
method_12039(class_2338 arg0)
m_rxqzlewx(C_hynzadkk arg0)
markBlockForPostProcessing(BlockPos pos)
m_8113_(C_4675_ arg0)
public it.unimi.dsi.fastutil.shorts.ShortList[]
m()
getPostProcessing()
method_12012()
m_eoqbertz()
getPostProcessingLists()
m_6720_()
public void
a(short arg0, int arg1)
addPackedPostProcess(short arg0, int arg1)
method_12029(short arg0, int arg1)
m_qdoylksi(short arg0, int arg1)
markBlockForPostProcessing(short packedPos, int index)
m_6561_(short p_62093_, int arg1)
public void
a(oc arg0)
setBlockEntityNbt(CompoundTag arg0)
method_12042(class_2487 arg0)
m_vczfecac(C_hhlwcnih arg0)
addPendingBlockEntityNbt(NbtCompound nbt)
m_5604_(C_4917_ arg0)
public CompoundTag
f(gh arg0)
getBlockEntityNbt(BlockPos arg0)
method_12024(class_2338 arg0)
m_sogpxvqe(C_hynzadkk arg0)
getBlockEntityNbt(BlockPos pos)
m_8049_(C_4675_ arg0)
public abstract CompoundTag
i(gh arg0)
getBlockEntityNbtForSaving(BlockPos arg0)
method_20598(class_2338 arg0)
m_smvmtzoy(C_hynzadkk arg0)
getPackedBlockEntityNbt(BlockPos pos)
m_8051_(C_4675_ arg0)
public abstract Stream<BlockPos>
n()
getLights()
method_12018()
m_hehmhcmj()
getLightSourcesStream()
m_6267_()
public abstract TickContainerAccess<Block>
o()
getBlockTicks()
method_12013()
m_fmezrwqz()
getBlockTickScheduler()
m_183531_()
public abstract TickContainerAccess<Fluid>
p()
getFluidTicks()
method_12014()
m_xwsabvci()
getFluidTickScheduler()
m_183526_()
public abstract ChunkAccess$TicksToSave
q()
getTicksForSerialization()
method_39296()
m_wljtnein()
getTickSchedulers()
m_183568_()
public UpgradeData
r()
getUpgradeData()
method_12003()
m_ifohhonx()
getUpgradeData()
m_7387_()
public boolean
s()
isOldNoiseGeneration()
method_39297()
m_cprmtzeh()
usesOldNoise()
m_187675_()
public BlendingData
t()
getBlendingData()
method_39299()
m_cebllhal()
getBlendingData()
m_183407_()
public void
a(cue arg0)
setBlendingData(BlendingData arg0)
method_39294(class_6749 arg0)
m_bbupaysr(C_jfjllmkc arg0)
setBlender(BlendingData blender)
m_183400_(C_182959_ arg0)
public long
u()
getInhabitedTime()
method_12033()
m_yuipgvpr()
getInhabitedTime()
m_6319_()
public void
a(long arg0)
incrementInhabitedTime(long arg0)
method_38870(long arg0)
m_alxritfm(long arg0)
increaseInhabitedTime(long delta)
m_187632_(long arg0)
public void
b(long arg0)
setInhabitedTime(long arg0)
method_12028(long arg0)
m_qaecgkls(long arg0)
setInhabitedTime(long inhabitedTime)
m_6141_(long arg0)
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)
m_62095_(it.unimi.dsi.fastutil.shorts.ShortList[] p_62096_, int p_62097_)
public boolean
v()
isLightCorrect()
method_12038()
m_ryislatp()
isLightOn()
m_6332_()
public void
b(boolean arg0)
setLightCorrect(boolean arg0)
method_12020(boolean arg0)
m_yrcpifpe(boolean arg0)
setLightOn(boolean lightOn)
m_8094_(boolean arg0)
public int
u_()
getMinBuildHeight()
method_31607()
m_gvgqrdxa()
getBottomY()
m_141937_()
public int
v_()
getHeight()
method_31605()
m_ogckdmbr()
getHeight()
m_141928_()
public NoiseChunk
a(cti arg0, Supplier<ctg$c> arg1, cth arg2, csq$a arg3, cud arg4)
getOrCreateNoiseChunk(NoiseSampler arg0, Supplier<NoiseChunk$NoiseFiller> arg1, NoiseGeneratorSettings arg2, Aquifer$FluidPicker arg3, Blender arg4)
method_38255(class_5818 arg0, Supplier<class_6568$class_6572> arg1, class_5284 arg2, class_6350$class_6565 arg3, class_6748 arg4)
m_ntljehgr(C_upcezwgw arg0, Supplier<C_rvjywqnu$C_ekqrmkds> arg1, C_lwpfhits arg2, C_jpghdzxc$C_vlyfprqt arg3, C_pfqozslu arg4)
getOrCreateChunkNoiseSampler(NoiseColumnSampler noiseColumnSampler, Supplier<ChunkNoiseSampler$ColumnSampler> columnSampler, ChunkGeneratorSettings chunkGeneratorSettings, AquiferSampler$FluidLevelSampler fluidLevelSampler, Blender blender)
m_187640_(C_141340_ p_187642_, Supplier<C_182895_$C_182898_> p_187643_, C_2194_ p_187644_, C_141319_$C_182886_ p_187645_, C_182955_ arg4)
public Biome
a(Supplier<caz> arg0)
carverBiome(Supplier<Biome> arg0)
method_38258(Supplier<class_1959> arg0)
m_ekgzezwt(Supplier<C_orlkpefs> arg0)
setBiomeIfAbsent(Supplier<Biome> biomeSupplier)
m_187655_(Supplier<C_1629_> arg0)
public 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)
m_7158_(int p_187672_, int p_187673_, int arg2)
public void
a(cbc arg0, cbh$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)
m_183442_(C_182855_ p_187639_, C_182857_$C_182866_ arg1)
public boolean
w()
hasAnyStructureReferences()
method_38871()
m_ptmjitse()
hasStructureReferences()
m_187678_()
public BelowZeroRetrogen
x()
getBelowZeroRetrogen()
method_39300()
m_qlsrwmuw()
getBelowZeroRetrogen()
m_183376_()
public boolean
y()
isUpgrading()
method_39461()
m_pkqflpwq()
hasBelowZeroRetrogen()
m_187679_()
public LevelHeightAccessor
z()
getHeightAccessorForGeneration()
method_39460()
m_jnwohgqe()
getHeightLimitView()
m_183618_()