src/main/java/com/Mrbysco/cactusmod/blocks/CactusSlimeBlock.java
@Override
    public void fallOn(World worldIn, BlockPos pos, Entity entityIn, float fallDistance) {
        if (entityIn.isShiftKeyDown()) {
            super.fallOn(worldIn, pos, entityIn, fallDistance * 0.5F);
        } else {
            entityIn.causeFallDamage(fallDistance, 0.0F);
        }
    }
/**
     * Block's chance to react to a living entity falling on it.
     */
Block's chance to react to a living entity falling on it.
Block ' s chance to react to a living entity falling on it .
@Override
    public void fallOn(World worldIn, BlockPos pos, Entity entityIn, float fallDistance) {
        if (entityIn.isShiftKeyDown()) {
            super.fallOn(worldIn, pos, entityIn, fallDistance * 0.5F);
        } else {
            entityIn.causeFallDamage(fallDistance, 0.0F);
        }
    }
@ Override public void fallOn ( World worldIn , BlockPos pos , Entity entityIn , float fallDistance ) { if ( entityIn . isShiftKeyDown ( ) ) { super . fallOn ( worldIn , pos , entityIn , fallDistance * 0.5F ) ; } else { entityIn . causeFallDamage ( fallDistance , 0.0F ) ; } }
Block's chance to react to a living entity falling on it.
Block ' s chance to react to a living entity falling on it .