Interface LevelHeightAccessor

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

public interface LevelHeightAccessor
  • Method Details

    • getHeight

      int getHeight()
    • getMinY

      int getMinY()
    • getMaxY

      default int getMaxY()
    • getSectionsCount

      default int getSectionsCount()
    • getMinSectionY

      default int getMinSectionY()
    • getMaxSectionY

      default int getMaxSectionY()
    • isInsideBuildHeight

      default boolean isInsideBuildHeight(int pY)
    • 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)