Package net.minecraft.world.level.chunk
Interface ChunkAccess
- All Superinterfaces:
 BlockGetter,FeatureAccess,LevelHeightAccessor
- All Known Implementing Classes:
 EmptyLevelChunk,ImposterProtoChunk,LevelChunk,ProtoChunk
- 
Method Summary
Modifier and TypeMethodDescriptionvoiddefault voidaddPackedPostProcess(short p_62092_, int p_62093_)Map<StructureFeature<?>,StructureStart<?>>getBlockEntityNbt(BlockPos p_62103_)getBlockEntityNbtForSaving(BlockPos p_62104_)default GameEventDispatchergetEventDispatcher(int p_156113_)getHeighestPosition(Heightmap.Types p_156117_)intgetHeight(Heightmap.Types p_62080_, int p_62081_, int p_62082_)default LevelChunkSectiondefault intlonggetOrCreateHeightmapUnprimed(Heightmap.Types p_62079_)static it.unimi.dsi.fastutil.shorts.ShortListgetOrCreateOffsetList(it.unimi.dsi.fastutil.shorts.ShortList[] p_62096_, int p_62097_)default LevelChunkSectiongetOrCreateSection(int p_156116_)getPos()it.unimi.dsi.fastutil.shorts.ShortList[]default LevelAccessorbooleanbooleandefault booleanisYSpaceEmpty(int p_62075_, int p_62076_)default voidmarkPosForPostprocessing(BlockPos p_62102_)voidremoveBlockEntity(BlockPos p_62101_)voidsetAllStarts(Map<StructureFeature<?>,StructureStart<?>> p_62090_)voidsetBlockEntity(BlockEntity p_156114_)default voidsetBlockEntityNbt(CompoundTag p_62091_)setBlockState(BlockPos p_62087_, BlockState p_62088_, boolean p_62089_)default voidsetHeightmap(Heightmap.Types p_62083_, long[] p_62084_)voidsetInhabitedTime(long p_62099_)voidsetLightCorrect(boolean p_62100_)voidsetUnsaved(boolean p_62094_)Methods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.chunk.FeatureAccess
addReferenceForFeature, getAllReferences, getReferencesForFeature, getStartForFeature, setAllReferences, setStartForFeatureMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getHeight, getMaxBuildHeight, getMaxSection, getMinBuildHeight, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight 
- 
Method Details
- 
getEventDispatcher
 - 
setBlockState
 - 
setBlockEntity
 - 
addEntity
 - 
getHighestSection
 - 
getHighestSectionPosition
default int getHighestSectionPosition() - 
getBlockEntitiesPos
 - 
getSections
LevelChunkSection[] getSections() - 
getOrCreateSection
 - 
getHeightmaps
Collection<Map.Entry<Heightmap.Types,Heightmap>> getHeightmaps() - 
setHeightmap
 - 
getOrCreateHeightmapUnprimed
 - 
getHeight
 - 
getHeighestPosition
 - 
getPos
ChunkPos getPos() - 
getAllStarts
Map<StructureFeature<?>,StructureStart<?>> getAllStarts() - 
setAllStarts
 - 
isYSpaceEmpty
default boolean isYSpaceEmpty(int p_62075_, int p_62076_) - 
getBiomes
 - 
setUnsaved
void setUnsaved(boolean p_62094_) - 
isUnsaved
boolean isUnsaved() - 
getStatus
ChunkStatus getStatus() - 
removeBlockEntity
 - 
markPosForPostprocessing
 - 
getPostProcessing
it.unimi.dsi.fastutil.shorts.ShortList[] getPostProcessing() - 
addPackedPostProcess
default void addPackedPostProcess(short p_62092_, int p_62093_) - 
setBlockEntityNbt
 - 
getBlockEntityNbt
 - 
getBlockEntityNbtForSaving
 - 
getLights
 - 
getBlockTicks
 - 
getLiquidTicks
 - 
getUpgradeData
UpgradeData getUpgradeData() - 
setInhabitedTime
void setInhabitedTime(long p_62099_) - 
getInhabitedTime
long getInhabitedTime() - 
getOrCreateOffsetList
static it.unimi.dsi.fastutil.shorts.ShortList getOrCreateOffsetList(it.unimi.dsi.fastutil.shorts.ShortList[] p_62096_, int p_62097_) - 
isLightCorrect
boolean isLightCorrect() - 
setLightCorrect
void setLightCorrect(boolean p_62100_) - 
getWorldForge
 
 -