Interface LevelHeightAccessor

All Known Subinterfaces:
BlockAndTintGetter, BlockGetter, CollisionGetter, CommonLevelAccessor, LevelAccessor, LevelReader, LevelTimeAccess, LightChunk, ServerLevelAccessor, SignalGetter, WorldGenLevel
All Known Implementing Classes:
ChunkAccess, ClientLevel, EmptyBlockGetter, EmptyLevelChunk, ImposterProtoChunk, Level, LevelChunk, PathNavigationRegion, ProtoChunk, RenderChunkRegion, ServerLevel, WorldGenRegion

public interface LevelHeightAccessor
  • Method Details

    • getHeight

      int getHeight()
    • getMinBuildHeight

      int getMinBuildHeight()
    • getMaxBuildHeight

      default int getMaxBuildHeight()
    • getSectionsCount

      default int getSectionsCount()
    • getMinSection

      default int getMinSection()
    • getMaxSection

      default int getMaxSection()
    • isOutsideBuildHeight

      default boolean isOutsideBuildHeight(BlockPos pPos)
    • isOutsideBuildHeight

      default boolean isOutsideBuildHeight(int pY)
    • getSectionIndex

      default int getSectionIndex(int pY)
    • getSectionIndexFromSectionY

      default int getSectionIndexFromSectionY(int pSectionIndex)
    • getSectionYFromSectionIndex

      default int getSectionYFromSectionIndex(int pSectionIndex)
    • create

      static LevelHeightAccessor create(int pMinBuildHeight, int pHeight)