Package net.minecraft.world
Interface ICollisionReader
- All Superinterfaces:
IBlockReader
- All Known Subinterfaces:
IBiomeReader
,IDayTimeReader
,ISeedReader
,IServerWorld
,IWorld
,IWorldReader
- All Known Implementing Classes:
ClientWorld
,Region
,ServerWorld
,World
,WorldGenRegion
-
Method Summary
Modifier and TypeMethodDescriptiondefault Stream<VoxelShape>
getBlockCollisions
(Entity p_226666_1_, AxisAlignedBB p_226666_2_) default Stream<VoxelShape>
getBlockCollisions
(Entity p_241457_1_, AxisAlignedBB p_241457_2_, BiPredicate<BlockState, BlockPos> p_241457_3_) getChunkForCollisions
(int p_225522_1_, int p_225522_2_) default Stream<VoxelShape>
getCollisions
(Entity p_234867_1_, AxisAlignedBB p_234867_2_, Predicate<Entity> p_234867_3_) getEntityCollisions
(Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) default boolean
isUnobstructed
(BlockState p_226663_1_, BlockPos p_226663_2_, ISelectionContext p_226663_3_) default boolean
isUnobstructed
(Entity p_226668_1_) default boolean
isUnobstructed
(Entity p_195585_1_, VoxelShape p_195585_2_) default boolean
noBlockCollision
(Entity p_242405_1_, AxisAlignedBB p_242405_2_, BiPredicate<BlockState, BlockPos> p_242405_3_) default boolean
noCollision
(Entity p_226669_1_) default boolean
noCollision
(Entity p_226665_1_, AxisAlignedBB p_226665_2_) default boolean
noCollision
(Entity p_234865_1_, AxisAlignedBB p_234865_2_, Predicate<Entity> p_234865_3_) default boolean
noCollision
(AxisAlignedBB p_226664_1_) Methods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxBuildHeight, getMaxLightLevel
-
Method Details
-
getWorldBorder
WorldBorder getWorldBorder() -
getChunkForCollisions
-
isUnobstructed
-
isUnobstructed
default boolean isUnobstructed(BlockState p_226663_1_, BlockPos p_226663_2_, ISelectionContext p_226663_3_) -
isUnobstructed
-
noCollision
-
noCollision
-
noCollision
-
noCollision
default boolean noCollision(@Nullable Entity p_234865_1_, AxisAlignedBB p_234865_2_, Predicate<Entity> p_234865_3_) -
getEntityCollisions
Stream<VoxelShape> getEntityCollisions(@Nullable Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) -
getCollisions
default Stream<VoxelShape> getCollisions(@Nullable Entity p_234867_1_, AxisAlignedBB p_234867_2_, Predicate<Entity> p_234867_3_) -
getBlockCollisions
default Stream<VoxelShape> getBlockCollisions(@Nullable Entity p_226666_1_, AxisAlignedBB p_226666_2_) -
noBlockCollision
default boolean noBlockCollision(@Nullable Entity p_242405_1_, AxisAlignedBB p_242405_2_, BiPredicate<BlockState, BlockPos> p_242405_3_) -
getBlockCollisions
default Stream<VoxelShape> getBlockCollisions(@Nullable Entity p_241457_1_, AxisAlignedBB p_241457_2_, BiPredicate<BlockState, BlockPos> p_241457_3_)
-