For the complete documentation index, see llms.txt. This page is also available as Markdown.

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