Package net.minecraft.world.chunk
Interface IChunk
- All Superinterfaces:
IBlockReader
,IStructureReader
- All Known Implementing Classes:
Chunk
,ChunkPrimer
,ChunkPrimerWrapper
,EmptyChunk
-
Method Summary
Modifier and TypeMethodDescriptionvoid
default void
addPackedPostProcess
(short p_201636_1_, int p_201636_2_) Map<Structure<?>,
StructureStart<?>> getBlockEntityNbt
(BlockPos p_201579_1_) getBlockEntityNbtForSaving
(BlockPos p_223134_1_) int
getHeight
(Heightmap.Type p_201576_1_, int p_201576_2_, int p_201576_3_) default ChunkSection
default int
long
getOrCreateHeightmapUnprimed
(Heightmap.Type p_217303_1_) static it.unimi.dsi.fastutil.shorts.ShortList
getOrCreateOffsetList
(it.unimi.dsi.fastutil.shorts.ShortList[] p_217308_0_, int p_217308_1_) getPos()
it.unimi.dsi.fastutil.shorts.ShortList[]
default IWorld
boolean
boolean
default boolean
isYSpaceEmpty
(int p_76606_1_, int p_76606_2_) default void
markPosForPostprocessing
(BlockPos p_201594_1_) void
removeBlockEntity
(BlockPos p_177425_1_) void
setAllStarts
(Map<Structure<?>, StructureStart<?>> p_201612_1_) void
setBlockEntity
(BlockPos p_177426_1_, TileEntity p_177426_2_) default void
setBlockEntityNbt
(CompoundNBT p_201591_1_) setBlockState
(BlockPos p_177436_1_, BlockState p_177436_2_, boolean p_177436_3_) void
setHeightmap
(Heightmap.Type p_201607_1_, long[] p_201607_2_) void
setInhabitedTime
(long p_177415_1_) void
setLastSaveTime
(long p_177432_1_) void
setLightCorrect
(boolean p_217305_1_) void
setUnsaved
(boolean p_177427_1_) Methods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxBuildHeight, getMaxLightLevel
Methods inherited from interface net.minecraft.world.IStructureReader
addReferenceForFeature, getAllReferences, getReferencesForFeature, getStartForFeature, setAllReferences, setStartForFeature
-
Method Details
-
setBlockState
@Nullable BlockState setBlockState(BlockPos p_177436_1_, BlockState p_177436_2_, boolean p_177436_3_) -
setBlockEntity
-
addEntity
-
getHighestSection
-
getHighestSectionPosition
default int getHighestSectionPosition() -
getBlockEntitiesPos
-
getSections
ChunkSection[] getSections() -
getHeightmaps
Collection<Map.Entry<Heightmap.Type,Heightmap>> getHeightmaps() -
setHeightmap
-
getOrCreateHeightmapUnprimed
-
getHeight
-
getPos
ChunkPos getPos() -
setLastSaveTime
void setLastSaveTime(long p_177432_1_) -
getAllStarts
Map<Structure<?>,StructureStart<?>> getAllStarts() -
setAllStarts
-
isYSpaceEmpty
default boolean isYSpaceEmpty(int p_76606_1_, int p_76606_2_) -
getBiomes
-
setUnsaved
void setUnsaved(boolean p_177427_1_) -
isUnsaved
boolean isUnsaved() -
getStatus
ChunkStatus getStatus() -
removeBlockEntity
-
markPosForPostprocessing
-
getPostProcessing
it.unimi.dsi.fastutil.shorts.ShortList[] getPostProcessing() -
addPackedPostProcess
default void addPackedPostProcess(short p_201636_1_, int p_201636_2_) -
setBlockEntityNbt
-
getBlockEntityNbt
-
getBlockEntityNbtForSaving
-
getLights
-
getBlockTicks
-
getLiquidTicks
-
getUpgradeData
UpgradeData getUpgradeData() -
setInhabitedTime
void setInhabitedTime(long p_177415_1_) -
getInhabitedTime
long getInhabitedTime() -
getOrCreateOffsetList
static it.unimi.dsi.fastutil.shorts.ShortList getOrCreateOffsetList(it.unimi.dsi.fastutil.shorts.ShortList[] p_217308_0_, int p_217308_1_) -
isLightCorrect
boolean isLightCorrect() -
setLightCorrect
void setLightCorrect(boolean p_217305_1_) -
getWorldForge
-