A simple yet fantastic way of building Potion Effects!
PotionEffect effect = new PotionBuilder(PotionEffectType.SPEED) .duration(-1) // infinite duration .amplifier(0) // for level 1 .particles(true) // show particles .build();
Last updated 6 months ago