接口 LevelHeightAccessor
- 所有已知子接口:
BlockAndTintGetter
,BlockGetter
,CollisionGetter
,CommonLevelAccessor
,LevelAccessor
,LevelReader
,LevelTimeAccess
,LightChunk
,ServerLevelAccessor
,SignalGetter
,WorldGenLevel
- 所有已知实现类:
ChunkAccess
,ClientLevel
,EmptyBlockGetter
,EmptyLevelChunk
,ImposterProtoChunk
,Level
,LevelChunk
,PathNavigationRegion
,ProtoChunk
,RenderChunkRegion
,ServerLevel
,WorldGenRegion
public interface LevelHeightAccessor
-
方法概要
修饰符和类型方法说明static LevelHeightAccessor
create
(int pMinBuildHeight, int pHeight) int
default int
default int
int
default int
default int
getSectionIndex
(int pY) default int
getSectionIndexFromSectionY
(int pSectionIndex) default int
default int
getSectionYFromSectionIndex
(int pSectionIndex) default boolean
isOutsideBuildHeight
(int pY) default boolean
isOutsideBuildHeight
(BlockPos pPos)
-
方法详细资料
-
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 pY) -
getSectionIndex
default int getSectionIndex(int pY) -
getSectionIndexFromSectionY
default int getSectionIndexFromSectionY(int pSectionIndex) -
getSectionYFromSectionIndex
default int getSectionYFromSectionIndex(int pSectionIndex) -
create
-