接口 CommonLevelAccessor
- 所有超级接口:
BiomeManager.NoiseBiomeSource
,BlockAndTintGetter
,BlockGetter
,CollisionGetter
,EntityGetter
,IForgeBlockAndTintGetter
,IForgeBlockGetter
,LevelHeightAccessor
,LevelReader
,LevelSimulatedReader
,LevelSimulatedRW
,LevelWriter
,SignalGetter
- 所有已知子接口:
LevelAccessor
,ServerLevelAccessor
,WorldGenLevel
- 所有已知实现类:
ClientLevel
,Level
,ServerLevel
,WorldGenRegion
-
字段概要
从接口继承的字段 net.minecraft.world.level.SignalGetter
DIRECTIONS
-
方法概要
修饰符和类型方法说明default <T extends BlockEntity>
Optional<T>getBlockEntity
(BlockPos pPos, BlockEntityType<T> pBlockEntityType) default List<VoxelShape>
getEntityCollisions
(Entity pEntity, AABB pCollisionBox) default BlockPos
getHeightmapPos
(Heightmap.Types pHeightmapType, BlockPos pPos) default boolean
isUnobstructed
(Entity pEntity, VoxelShape pShape) 从接口继承的方法 net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getBrightness, getLightEngine, getRawBrightness, getShade
从接口继承的方法 net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLine
从接口继承的方法 net.minecraft.world.level.CollisionGetter
collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, getWorldBorder, isUnobstructed, isUnobstructed, noCollision, noCollision, noCollision
从接口继承的方法 net.minecraft.world.level.EntityGetter
getEntities, getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayer, players
从接口继承的方法 net.minecraftforge.client.extensions.IForgeBlockAndTintGetter
getShade
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity, getModelDataManager
从接口继承的方法 net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
从接口继承的方法 net.minecraft.world.level.LevelReader
canSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, enabledFeatures, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getHeight, getHeight, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getMinBuildHeight, getNoiseBiome, getPathfindingCostFromLightLevels, getSeaLevel, getSkyDarken, getUncachedNoiseBiome, hasChunk, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isAreaLoaded, 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 pPos, BlockEntityType<T> pBlockEntityType) - 指定者:
getBlockEntity
在接口中BlockGetter
- 指定者:
getBlockEntity
在接口中LevelSimulatedReader
-
getEntityCollisions
- 指定者:
getEntityCollisions
在接口中CollisionGetter
- 指定者:
getEntityCollisions
在接口中EntityGetter
-
isUnobstructed
- 指定者:
isUnobstructed
在接口中CollisionGetter
- 指定者:
isUnobstructed
在接口中EntityGetter
-
getHeightmapPos
- 指定者:
getHeightmapPos
在接口中LevelReader
- 指定者:
getHeightmapPos
在接口中LevelSimulatedReader
-