Negative Games Wiki
Discord
  • 👋Landing
  • 🎬Projects
    • 👮Punishments
      • 🖋️Commands
      • 📜Configuration
        • main.yml
        • messages.yml
        • Menus
          • history-main.yml
          • history.yml
          • note-delete-confirmation.yml
          • note-editor.yml
          • notes.yml
          • punish-confirm.yml
          • punish.yml
          • records-main.yml
          • records.yml
          • records-single.yml
          • staff-history-main.yml
          • staff-history.yml
          • staff-leaderboard.yml
    • 📑alumina
      • ItemBuilder
      • PotionBuilder
      • InputListener
      • Commands
      • DependencyLoader
      • Events Subscriber
      • Static Logger
Powered by GitBook
On this page

Was this helpful?

  1. Projects
  2. alumina

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();

PreviousItemBuilderNextInputListener

Last updated 1 year ago

Was this helpful?

🎬
📑