Package cn.nukkit.level.format
Interface Chunk
- Author:
- MagicDroidX (Nukkit Project)
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
最大高度,请注意此高度不能放置方块,-1之后才能int
最低高度,此高度可以放置方块getSection
(float fY) default boolean
boolean
isSectionEmpty
(float fY) boolean
setSection
(float fY, ChunkSection section) Methods inherited from interface cn.nukkit.level.format.FullChunk
addBlockEntity, addEntity, findBorders, getAndSetBlock, getAndSetBlock, getAndSetBlockState, getAndSetBlockState, getBiomeId, getBiomeId, getBiomeIdArray, getBlockChanges, getBlockData, getBlockData, getBlockEntities, getBlockExtraData, getBlockExtraDataArray, getBlockId, getBlockId, getBlockLight, getBlockLightArray, getBlockRuntimeId, getBlockRuntimeId, getBlockSkyLight, getBlockSkyLightArray, getBlockState, getBlockState, getChunkSectionCount, getEntities, getFullBlock, getFullBlock, getHeightMap, getHeightMapArray, getHighestBlockAt, getHighestBlockAt, getIndex, getProvider, getTile, getX, getZ, hasChanged, initChunk, isBlockChangeAllowed, isBlockedByBorder, isGenerated, isLightPopulated, isLoaded, isNether, isOverWorld, isPopulated, isTheEnd, load, load, populateSkyLight, recalculateHeightMap, recalculateHeightMapColumn, removeBlockEntity, removeEntity, reObfuscateChunk, setBiome, setBiome, setBiomeId, setBiomeId, setBiomeId, setBiomeId, setBlock, setBlock, setBlockAtLayer, setBlockAtLayer, setBlockData, setBlockData, setBlockExtraData, setBlockId, setBlockId, setBlockLight, setBlockSkyLight, setBlockState, setBlockStateAtLayer, setChanged, setChanged, setFullBlockId, setFullBlockId, setGenerated, setGenerated, setHeightMap, setLightPopulated, setLightPopulated, setPopulated, setPopulated, setPosition, setProvider, setX, setZ, toBinary, toFastBinary, unload, unload, unload
-
Method Details
-
isSectionEmpty
boolean isSectionEmpty(float fY) -
getSection
-
setSection
-
getSections
ChunkSection[] getSections() -
getMaxHeight
最大高度,请注意此高度不能放置方块,-1之后才能- Returns:
- 最大高度
-
getMinHeight
最低高度,此高度可以放置方块- Returns:
- 最低高度
-
isChunkSection3DBiomeSupported
-