PotionBuilder

A simple yet fantastic way of building Potion Effects!

Example
PotionEffect effect = new PotionBuilder(PotionEffectType.SPEED)
    .duration(-1) // infinite duration
    .amplifier(0) // for level 1
    .particles(true) // show particles
    .build();

Last updated