接口 CommonLevelAccessor
- 所有超级接口:
BiomeManager.NoiseBiomeSource
,BlockAndTintGetter
,BlockGetter
,CollisionGetter
,EntityGetter
,IBlockAndTintGetterExtension
,IBlockGetterExtension
,ILevelReaderExtension
,LevelHeightAccessor
,LevelReader
,LevelSimulatedReader
,LevelSimulatedRW
,LevelWriter
,SignalGetter
- 所有已知子接口:
LevelAccessor
,ServerLevelAccessor
,WorldGenLevel
- 所有已知实现类:
Level
,ServerLevel
,WorldGenRegion
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.world.level.BlockGetter
BlockGetter.BlockStepVisitor
-
字段概要
从接口继承的字段 net.minecraft.world.level.BlockGetter
MAX_BLOCK_ITERATIONS_ALONG_TRAVEL
从接口继承的字段 net.minecraft.world.level.SignalGetter
DIRECTIONS
-
方法概要
修饰符和类型方法说明default <T extends BlockEntity>
Optional<T> getBlockEntity
(BlockPos p_151452_, BlockEntityType<T> p_151453_) default List
<VoxelShape> getEntityCollisions
(Entity p_186447_, AABB p_186448_) default BlockPos
getHeightmapPos
(Heightmap.Types p_45831_, BlockPos p_45832_) default boolean
isUnobstructed
(Entity p_45828_, VoxelShape p_45829_) 从接口继承的方法 net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getBrightness, getLightEngine, getRawBrightness, getShade
从接口继承的方法 net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, isBlockInLine
从接口继承的方法 net.minecraft.world.level.CollisionGetter
clipIncludingBorder, collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockAndLiquidCollisions, getBlockCollisions, getCollisions, getPreMoveCollisions, getWorldBorder, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollision
从接口继承的方法 net.minecraft.world.level.EntityGetter
getEntities, getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayer, players
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension
getShade
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBlockGetterExtension
getAuxLightManager, getAuxLightManager, getModelData
从接口继承的方法 net.neoforged.neoforge.common.extensions.ILevelReaderExtension
holder, holderOrThrow, isAreaLoaded
从接口继承的方法 net.minecraft.world.level.LevelHeightAccessor
getMaxSectionY, getMaxY, getMinSectionY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, isOutsideBuildHeight, isOutsideBuildHeight
从接口继承的方法 net.minecraft.world.level.LevelReader
canSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, enabledFeatures, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getHeight, getHeight, getHeight, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getMinY, getNoiseBiome, getPathfindingCostFromLightLevels, getSeaLevel, getSkyDarken, getUncachedNoiseBiome, hasChunk, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isClientSide, isEmptyBlock, isWaterAt, registryAccess
从接口继承的方法 net.minecraft.world.level.LevelSimulatedReader
isFluidAtPosition, isStateAtPosition
从接口继承的方法 net.minecraft.world.level.LevelWriter
addFreshEntity, destroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlock
从接口继承的方法 net.minecraft.world.level.SignalGetter
getBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignal
-
方法详细资料
-
getBlockEntity
default <T extends BlockEntity> Optional<T> getBlockEntity(BlockPos p_151452_, BlockEntityType<T> p_151453_) - 指定者:
getBlockEntity
在接口中BlockGetter
- 指定者:
getBlockEntity
在接口中LevelSimulatedReader
-
getEntityCollisions
- 指定者:
getEntityCollisions
在接口中CollisionGetter
- 指定者:
getEntityCollisions
在接口中EntityGetter
-
isUnobstructed
- 指定者:
isUnobstructed
在接口中CollisionGetter
- 指定者:
isUnobstructed
在接口中EntityGetter
-
getHeightmapPos
- 指定者:
getHeightmapPos
在接口中LevelReader
- 指定者:
getHeightmapPos
在接口中LevelSimulatedReader
-