getIntensity

public double getIntensity(LivingEntity entity)

Gets the intensity of the potion's effects for given entity; This depends on the distance to the impact center

Return

intensity relative to maximum effect; 0.0: not affected; 1.0: fully hit by potion effects

Parameters

entity

Which entity to get intensity for