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 intgetBottomSectionLimit()default intgetSection(int sectionIndex)intgetSectionCount()default intgetSectionIndex(int y)default intgetSectionIndexFromSection(int section)default intgetTopHeightLimit()default intgetTopSectionLimit()default booleanisOutOfHeightLimit(int y)default booleanisOutOfHeightLimit(BlockPos pos)default intmethod_32890()default intmethod_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)
-