package info.u_team.u_team_test.potion;

import info.u_team.u_team_test.init.TestEffects;
import net.minecraft.client.renderer.EffectInstance;
import net.minecraft.world.item.alchemy.Potion;

public class RadiationPotion extends Potion {
	
	public RadiationPotion(int duration, int amplifier) {
		super("radiation", new EffectInstance(TestEffects.RADIATION.get(), duration, amplifier));
	}
}

package info.u_team.u_team_test.potion;

import info.u_team.u_team_test.init.TestEffects;
import net.minecraft.world.effect.MobEffectInstance;
import net.minecraft.world.item.alchemy.Potion;

public class RadiationPotion extends Potion {
	
	public RadiationPotion(int duration, int amplifier) {
		super("radiation", new MobEffectInstance(TestEffects.RADIATION.get(), duration, amplifier));
	}
}

Fix potion