net.minecraft.world.level.chunk

public interface ChunkAccess

extends BlockGetter, FeatureAccess

cmm
net.minecraft.world.level.chunk.ChunkAccess
net.minecraft.class_2791
net.minecraft.world.chunk.Chunk
net.minecraft.src.C_2116_
net.minecraft.world.level.chunk.IChunkAccess

Method summary

Modifier and TypeMethod
default GameEventDispatcher
a(int arg0)
getEventDispatcher(int arg0)
method_32914(int arg0)
getGameEventDispatcher(int ySectionCoord)
m_142336_(int arg0)
BlockState
a(gg arg0, ckt arg1, boolean arg2)
setBlockState(BlockPos arg0, BlockState arg1, boolean arg2)
method_12010(class_2338 arg0, class_2680 arg1, boolean arg2)
setBlockState(BlockPos pos, BlockState state, boolean moved)
m_6978_(C_4675_ p_62088_, C_2064_ p_62089_, boolean arg2)
setType(BlockPosition arg0, IBlockData arg1, boolean arg2)
void
a(ciq arg0)
setBlockEntity(BlockEntity arg0)
method_12007(class_2586 arg0)
setBlockEntity(BlockEntity blockEntity)
m_142169_(C_1991_ arg0)
setTileEntity(TileEntity arg0)
void
a(atg arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
addEntity(Entity entity)
m_6286_(C_507_ arg0)
default LevelChunkSection
a()
getHighestSection()
method_12040()
getHighestNonEmptySection()
m_62074_()
default int
b()
getHighestSectionPosition()
method_12031()
getHighestNonEmptySectionYOffset()
m_62098_()
Set<BlockPos>
c()
getBlockEntitiesPos()
method_12021()
getBlockEntityPositions()
m_5928_()
LevelChunkSection[]
d()
getSections()
method_12006()
getSectionArray()
m_7103_()
getSections()
default LevelChunkSection
b(int arg0)
getOrCreateSection(int arg0)
method_33729(int arg0)
getSection(int yIndex)
m_156115_(int arg0)
Collection<Map$Entry<Heightmap$Types, Heightmap>>
e()
getHeightmaps()
method_12011()
getHeightmaps()
m_6890_()
default void
a(cpt$a arg0, long[] arg1)
setHeightmap(Heightmap$Types arg0, long[] arg1)
method_12037(class_2902$class_2903 arg0, long[] arg1)
setHeightmap(Heightmap$Type type, long[] heightmap)
m_6511_(C_2190_$C_2191_ p_62084_, long[] arg1)
Heightmap
a(cpt$a arg0)
getOrCreateHeightmapUnprimed(Heightmap$Types arg0)
method_12032(class_2902$class_2903 arg0)
getHeightmap(Heightmap$Type type)
m_6005_(C_2190_$C_2191_ arg0)
int
a(cpt$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)
sampleHeightmap(Heightmap$Type type, int x, int z)
m_5885_(C_2190_$C_2191_ p_62081_, int p_62082_, int arg2)
getHighestBlock(HeightMap$Type arg0, int arg1, int arg2)
BlockPos
b(cpt$a arg0)
getHeighestPosition(Heightmap$Types arg0)
method_35319(class_2902$class_2903 arg0)
method_35319(Heightmap$Type arg0)
m_142241_(C_2190_$C_2191_ arg0)
ChunkPos
f()
getPos()
method_12004()
getPos()
m_7697_()
getPos()
Map<StructureFeature<?>, StructureStart<?>>
g()
getAllStarts()
method_12016()
getStructureStarts()
m_6633_()
void
a(Map<cud<?>, dbo<?>> arg0)
setAllStarts(Map<StructureFeature<?>, StructureStart<?>> arg0)
method_12034(Map<class_3195<?>, class_3449<?>> arg0)
setStructureStarts(Map<StructureFeature<?>, StructureStart<?>> structureStarts)
m_8040_(Map<C_2304_<?>, C_2588_<?>> arg0)
default boolean
a(int arg0, int arg1)
isYSpaceEmpty(int arg0, int arg1)
method_12228(int arg0, int arg1)
areSectionsEmptyBetween(int lowerHeight, int upperHeight)
m_5566_(int p_62076_, int arg1)
ChunkBiomeContainer
h()
getBiomes()
method_12036()
getBiomeArray()
m_6221_()
getBiomeIndex()
void
a(boolean arg0)
setUnsaved(boolean arg0)
method_12008(boolean arg0)
setShouldSave(boolean shouldSave)
m_8092_(boolean arg0)
setNeedsSaving(boolean arg0)
boolean
i()
isUnsaved()
method_12044()
needsSaving()
m_6344_()
isNeedsSaving()
ChunkStatus
j()
getStatus()
method_12009()
getStatus()
m_6415_()
getChunkStatus()
void
d(gg arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
removeBlockEntity(BlockPos pos)
m_8114_(C_4675_ arg0)
removeTileEntity(BlockPosition arg0)
default void
e(gg arg0)
markPosForPostprocessing(BlockPos arg0)
method_12039(class_2338 arg0)
markBlockForPostProcessing(BlockPos pos)
m_8113_(C_4675_ arg0)
it.unimi.dsi.fastutil.shorts.ShortList[]
k()
getPostProcessing()
method_12012()
getPostProcessingLists()
m_6720_()
default void
a(short arg0, int arg1)
addPackedPostProcess(short arg0, int arg1)
method_12029(short arg0, int arg1)
markBlockForPostProcessing(short packedPos, int index)
m_6561_(short p_62093_, int arg1)
default void
a(na arg0)
setBlockEntityNbt(CompoundTag arg0)
method_12042(class_2487 arg0)
addPendingBlockEntityNbt(NbtCompound nbt)
m_5604_(C_4917_ arg0)
CompoundTag
f(gg arg0)
getBlockEntityNbt(BlockPos arg0)
method_12024(class_2338 arg0)
getBlockEntityNbt(BlockPos pos)
m_8049_(C_4675_ arg0)
CompoundTag
g(gg arg0)
getBlockEntityNbtForSaving(BlockPos arg0)
method_20598(class_2338 arg0)
getPackedBlockEntityNbt(BlockPos pos)
m_8051_(C_4675_ arg0)
Stream<BlockPos>
n()
getLights()
method_12018()
getLightSourcesStream()
m_6267_()
TickList<Block>
o()
getBlockTicks()
method_12013()
getBlockTickScheduler()
m_5782_()
TickList<Fluid>
p()
getLiquidTicks()
method_12014()
getFluidTickScheduler()
m_5783_()
UpgradeData
q()
getUpgradeData()
method_12003()
getUpgradeData()
m_7387_()
void
a(long arg0)
setInhabitedTime(long arg0)
method_12028(long arg0)
setInhabitedTime(long inhabitedTime)
m_6141_(long arg0)
setInhabitedTime(long arg0)
long
r()
getInhabitedTime()
method_12033()
getInhabitedTime()
m_6319_()
getInhabitedTime()
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)
getList(it.unimi.dsi.fastutil.shorts.ShortList[] lists, int index)
m_62095_(it.unimi.dsi.fastutil.shorts.ShortList[] p_62096_, int p_62097_)
boolean
s()
isLightCorrect()
method_12038()
isLightOn()
m_6332_()
void
b(boolean arg0)
setLightCorrect(boolean arg0)
method_12020(boolean arg0)
setLightOn(boolean lightOn)
m_8094_(boolean arg0)