Package net.minecraft.world.level
Interface LevelHeightAccessor
- All Known Subinterfaces:
- BlockAndTintGetter,- BlockGetter,- CollisionGetter,- CommonLevelAccessor,- LevelAccessor,- LevelReader,- LevelTimeAccess,- LightChunk,- ServerLevelAccessor,- SignalGetter,- WorldGenLevel
- All Known Implementing Classes:
- ChunkAccess,- ClientLevel,- EmptyBlockGetter,- EmptyLevelChunk,- ImposterProtoChunk,- Level,- LevelChunk,- PathNavigationRegion,- ProtoChunk,- RenderChunkRegion,- ServerLevel,- WorldGenRegion
public interface LevelHeightAccessor
- 
Method SummaryModifier and TypeMethodDescriptionstatic LevelHeightAccessorcreate(int p_186488_, int p_186489_) intdefault intdefault intintdefault intdefault intgetSectionIndex(int p_151565_) default intgetSectionIndexFromSectionY(int p_151567_) default intdefault intgetSectionYFromSectionIndex(int p_151569_) default booleanisOutsideBuildHeight(int p_151563_) default booleanisOutsideBuildHeight(BlockPos p_151571_) 
- 
Method Details- 
getHeightint getHeight()
- 
getMinBuildHeightint getMinBuildHeight()
- 
getMaxBuildHeightdefault int getMaxBuildHeight()
- 
getSectionsCountdefault int getSectionsCount()
- 
getMinSectiondefault int getMinSection()
- 
getMaxSectiondefault int getMaxSection()
- 
isOutsideBuildHeight
- 
isOutsideBuildHeightdefault boolean isOutsideBuildHeight(int p_151563_) 
- 
getSectionIndexdefault int getSectionIndex(int p_151565_) 
- 
getSectionIndexFromSectionYdefault int getSectionIndexFromSectionY(int p_151567_) 
- 
getSectionYFromSectionIndexdefault int getSectionYFromSectionIndex(int p_151569_) 
- 
create
 
-