接口 CollisionGetter
- 所有已知子接口:
CommonLevelAccessor
,LevelAccessor
,LevelReader
,LevelTimeAccess
,ServerLevelAccessor
,WorldGenLevel
- 所有已知实现类:
Level
,PathNavigationRegion
,ServerLevel
,WorldGenRegion
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.world.level.BlockGetter
BlockGetter.BlockStepVisitor
-
字段概要
从接口继承的字段 net.minecraft.world.level.BlockGetter
MAX_BLOCK_ITERATIONS_ALONG_TRAVEL
-
方法概要
修饰符和类型方法说明private VoxelShape
borderCollision
(Entity p_186441_, AABB p_186442_) default BlockHitResult
clipIncludingBorder
(ClipContext p_365129_) default boolean
collidesWithSuffocatingBlock
(Entity p_186438_, AABB p_186439_) findFreePosition
(Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_) findSupportingBlock
(Entity p_286468_, AABB p_286792_) default Iterable
<VoxelShape> getBlockAndLiquidCollisions
(Entity p_364621_, AABB p_365424_) default Iterable
<VoxelShape> getBlockCollisions
(Entity p_186435_, AABB p_186436_) private Iterable
<VoxelShape> getBlockCollisionsFromContext
(CollisionContext p_422304_, AABB p_421735_) getChunkForCollisions
(int p_45774_, int p_45775_) default Iterable
<VoxelShape> getCollisions
(Entity p_186432_, AABB p_186433_) getEntityCollisions
(Entity p_186427_, AABB p_186428_) default Iterable
<VoxelShape> getPreMoveCollisions
(Entity p_421848_, AABB p_422291_, Vec3 p_422022_) default boolean
isUnobstructed
(Entity p_45785_) default boolean
isUnobstructed
(Entity p_45750_, VoxelShape p_45751_) default boolean
isUnobstructed
(BlockState p_45753_, BlockPos p_45754_, CollisionContext p_45755_) default boolean
noBlockCollision
(Entity p_295728_, AABB p_294209_) default boolean
noCollision
(Entity p_45787_) default boolean
noCollision
(Entity p_45757_, AABB p_45758_) default boolean
noCollision
(Entity p_364564_, AABB p_364942_, boolean p_362912_) default boolean
noCollision
(AABB p_45773_) 从接口继承的方法 net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, isBlockInLine
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBlockGetterExtension
getAuxLightManager, getAuxLightManager, getModelData
从接口继承的方法 net.minecraft.world.level.LevelHeightAccessor
getHeight, getMaxSectionY, getMaxY, getMinSectionY, getMinY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, isOutsideBuildHeight, isOutsideBuildHeight
-
方法详细资料
-
getWorldBorder
WorldBorder getWorldBorder() -
getChunkForCollisions
-
isUnobstructed
-
isUnobstructed
-
isUnobstructed
-
noCollision
-
noCollision
-
noCollision
-
noCollision
-
noBlockCollision
-
getEntityCollisions
-
getCollisions
-
getPreMoveCollisions
default Iterable<VoxelShape> getPreMoveCollisions(@Nullable Entity p_421848_, AABB p_422291_, Vec3 p_422022_) -
getBlockCollisions
-
getBlockAndLiquidCollisions
default Iterable<VoxelShape> getBlockAndLiquidCollisions(@Nullable Entity p_364621_, AABB p_365424_) -
getBlockCollisionsFromContext
private Iterable<VoxelShape> getBlockCollisionsFromContext(CollisionContext p_422304_, AABB p_421735_) -
borderCollision
-
clipIncludingBorder
-
collidesWithSuffocatingBlock
-
findSupportingBlock
-
findFreePosition
default Optional<Vec3> findFreePosition(@Nullable Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_)
-