• Type: New Feature
    • Resolution: Done
    • Priority: Minor
    • None
    • Affects Version/s: None

      Little suggestion regarding PotionEffects.

       

      There are lots of getters for this class (getType, getDuration, getAmplifier, getColor, hasParticles and isAmbient). Although (and that's quite annoying), there aren't any setters; Here's a list of useful setters (actually they're only the reverse of the getters, so they're self-explanatory) :

      • setType(PotionEffectType type)
      • setDuration(int ticks)
      • setAmplifier(int amplifier)
      • setParticles(boolean hasParticles)
      • setAmbient(boolean isAmbient)
      • setColor(Color color)

            Assignee:
            Unassigned
            Reporter:
            Syst3ms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: