接口 LevelHeightAccessor

所有已知子接口:
BlockAndTintGetter, BlockGetter, CollisionGetter, CommonLevelAccessor, LevelAccessor, LevelReader, LevelTimeAccess, LightChunk, ServerLevelAccessor, SignalGetter, WorldGenLevel
所有已知实现类:
ChunkAccess, ClientLevel, EmptyBlockAndTintGetter, EmptyBlockGetter, EmptyLevelChunk, FallingBlockRenderState, ImposterProtoChunk, Level, LevelChunk, PathNavigationRegion, ProtoChunk, RenderChunkRegion, ServerLevel, WorldGenRegion

public interface LevelHeightAccessor
  • 方法详细资料

    • 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 p_362913_)
    • isOutsideBuildHeight

      default boolean isOutsideBuildHeight(BlockPos p_151571_)
    • isOutsideBuildHeight

      default boolean isOutsideBuildHeight(int p_151563_)
    • getSectionIndex

      default int getSectionIndex(int p_151565_)
    • getSectionIndexFromSectionY

      default int getSectionIndexFromSectionY(int p_151567_)
    • getSectionYFromSectionIndex

      default int getSectionYFromSectionIndex(int p_151569_)
    • create

      static LevelHeightAccessor create(int p_186488_, int p_186489_)