Interface LevelHeightAccessor

All Known Subinterfaces:
BlockAndTintGetter, BlockGetter, CollisionGetter, CommonLevelAccessor, LevelAccessor, LevelReader, LightChunk, ServerLevelAccessor, SignalGetter, WorldGenLevel
All Known Implementing Classes:
BlockBreakingRenderState, ChunkAccess, ClientLevel, EmptyBlockAndTintGetter, EmptyBlockGetter, EmptyLevelChunk, ImposterProtoChunk, Level, LevelChunk, MovingBlockRenderState, 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 blockY)
    • isOutsideBuildHeight

      default boolean isOutsideBuildHeight(BlockPos pos)
    • isOutsideBuildHeight

      default boolean isOutsideBuildHeight(int blockY)
    • getSectionIndex

      default int getSectionIndex(int blockY)
    • getSectionIndexFromSectionY

      default int getSectionIndexFromSectionY(int sectionY)
    • getSectionYFromSectionIndex

      default int getSectionYFromSectionIndex(int sectionIndex)
    • create

      static LevelHeightAccessor create(int minY, int height)