Package net.minecraft.world
Interface HeightLimitView
- All Known Subinterfaces:
BlockRenderView
,BlockView
,Chunk
,class_5423
,CollisionView
,LunarWorldView
,ServerWorldAccess
,StructureWorldAccess
,WorldAccess
,WorldView
- All Known Implementing Classes:
ChunkCache
,ChunkRegion
,ChunkRendererRegion
,ClientWorld
,DecoratorContext
,EmptyBlockView
,EmptyChunk
,FlatChunkGeneratorConfig
,ProtoChunk
,ReadOnlyChunk
,ServerWorld
,World
,WorldChunk
public interface HeightLimitView
-
Method Summary
Modifier and Type Method Description int
getBottomSectionLimit()
default int
getSection(int sectionIndex)
int
getSectionCount()
default int
getSectionIndex(int y)
default int
getSectionIndexFromSection(int section)
default int
getTopHeightLimit()
default int
getTopSectionLimit()
default boolean
isOutOfHeightLimit(int y)
default boolean
isOutOfHeightLimit(BlockPos pos)
default int
method_32890()
default int
method_32891()
-
Method Details
-
getBottomSectionLimit
int getBottomSectionLimit() -
getSectionCount
int getSectionCount() -
getTopHeightLimit
default int getTopHeightLimit() -
method_32890
default int method_32890() -
method_32891
default int method_32891() -
getTopSectionLimit
default int getTopSectionLimit() -
isOutOfHeightLimit
-
isOutOfHeightLimit
default boolean isOutOfHeightLimit(int y) -
getSectionIndex
default int getSectionIndex(int y) -
getSectionIndexFromSection
default int getSectionIndexFromSection(int section) -
getSection
default int getSection(int sectionIndex)
-