Interface Chunk

All Superinterfaces:
Cloneable, FullChunk
All Known Implementing Classes:
BaseChunk, Chunk

public interface Chunk extends FullChunk
Author:
MagicDroidX (Nukkit Project)
  • Method Details

    • isSectionEmpty

      boolean isSectionEmpty(float fY)
    • getSection

      ChunkSection getSection(float fY)
    • setSection

      boolean setSection(float fY, ChunkSection section)
    • getSections

      ChunkSection[] getSections()
    • getMaxHeight

      @PowerNukkitXOnly @Since("1.19.20-r4") int getMaxHeight()
      最大高度,请注意此高度不能放置方块,-1之后才能
      Returns:
      最大高度
    • getMinHeight

      @PowerNukkitXOnly @Since("1.19.20-r4") int getMinHeight()
      最低高度,此高度可以放置方块
      Returns:
      最低高度
    • isChunkSection3DBiomeSupported

      @PowerNukkitXOnly @Since("1.19.20-r3") default boolean isChunkSection3DBiomeSupported()