Package net.minecraft.world.level
Interface LevelHeightAccessor
- All Known Subinterfaces:
BlockAndTintGetter
,BlockGetter
,ChunkAccess
,CollisionGetter
,CommonLevelAccessor
,LevelAccessor
,LevelReader
,LevelTimeAccess
,ServerLevelAccessor
,WorldGenLevel
- All Known Implementing Classes:
ClientLevel
,EmptyBlockGetter
,EmptyLevelChunk
,ImposterProtoChunk
,Level
,LevelChunk
,PathNavigationRegion
,ProtoChunk
,RenderChunkRegion
,ServerLevel
,WorldGenRegion
public interface LevelHeightAccessor
-
Method Summary
Modifier and TypeMethodDescriptionint
default int
default int
int
default int
default int
getSectionIndex(int p_151565_)
default int
getSectionIndexFromSectionY(int p_151567_)
default int
default int
getSectionYFromSectionIndex(int p_151569_)
default boolean
isOutsideBuildHeight(int p_151563_)
default boolean
isOutsideBuildHeight(BlockPos p_151571_)
-
Method Details
-
getHeight
int getHeight() -
getMinBuildHeight
int getMinBuildHeight() -
getMaxBuildHeight
default int getMaxBuildHeight() -
getSectionsCount
default int getSectionsCount() -
getMinSection
default int getMinSection() -
getMaxSection
default int getMaxSection() -
isOutsideBuildHeight
-
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_)
-