Block's chance to react to a living entity falling on it. @param fallDistance The distance the entity has fallen before landing
(World worldIn, BlockPos pos, Entity entityIn, float fallDistance)
| 1128 | * @param fallDistance The distance the entity has fallen before landing |
| 1129 | */ |
| 1130 | public void onFallenUpon(World worldIn, BlockPos pos, Entity entityIn, float fallDistance) |
| 1131 | { |
| 1132 | entityIn.fall(fallDistance, 1.0F); |
| 1133 | } |
| 1134 | |
| 1135 | /** |
| 1136 | * Called when an Entity lands on this Block. This method *must* update motionY because the entity will not do that |