Changelog Testers - TheComputerGeek2/MagicSpells GitHub Wiki

Note

4.0 Beta 17 has been tested on 1.21.4.

Breaking Changes:

  • The ParticleCloudSpell option potion-effects now relies on the common Potion Effects List format, which causes a minor breaking change in the string variant of the format (<potion> <duration> <amplifier> <ambient> <particles> <icon>), where ambient now refers toggles hidden, and particles now toggles ambient.

Changes:

  • The invert and pass-power subspell cast arguments now support expressions.
  • Item Entity Data options, such as entity equipment and the item_display's item, now support string expressions and the vanilla item format.
  • Due to a Paper bug which causes maximum bow force not to be restrained in the [0, 1] interval, the default for the BowSpell option maximum-force has been changed from 1 to 0 so that it's not checked by default.
  • Spell effects may now be a list of configuration sections rather than being mapped to a name.
    effects:
      - position: target
        effect: lightning
  • The particlecloud spell effect can now utilise the argb-color option to color the entity_effect particle.
  • Restored the particle-name option to ParticleCloudSpell as an alias to the particle option, as it was unintentionally renamed in 4.0 Beta 13.

Additions:

  • Added health (Double) option to Entity Data.
  • Added attribute-modifiers (Attributes) option to Entity Data.
  • Added the pass-args subspell cast argument. With pass-args=true, arguments from the parent spell cast are used for the subspell cast, instead of the value of the args subspell cast argument.
  • Added the .targeted.GlowSpell as a replacement to the now deprecated .targeted.ext.GlowSpell.
  • Added potion-effects to Entity Data.
  • Added options ParticleCloudSpell to configure particles:
    • dust_color_transition - color, to-color and size options under a dust-transition section
    • entity_effect - argb-color option
  • Added apply-physics to ReplaceSpell, a boolean option, defaulting to true.
  • Added wait-time (Integer, defaults to 0) to particlecloud spell effect. This overrides the default behaviour where the radius is ignored for 20 ticks and particles only spawn at the center of the cloud.
  • Added str-cant-cast-by-command to general.yml. This lets you configure the existing message sent by /ms cast self (/c) when the spell is configured with can-cast-by-command: false.

Fixes:

  • Fixed an issue with AreaEffectSpell not shuffling collected targets.
  • Fixed an issue where boolean expressions used false for invalid values, instead of the supplied default value.
  • Fixed an issue with ResistSpell not properly checking damage-types.
  • Fixed an issue with the ParticleCloudSpell spawning in a cloud with a visible empty name tag even if custom-name was left empty.
  • Fixed an issue with the particlecloud spell effect not playing correctly when played on an entity rather than a location.
  • Fixed an issue with the color of the entity_effect particle in the ParticleCloudSpell being overridden by the potion-effects color.
  • Fixed an issue with MagicSpells registering permissions, where they are now bulk-registered instead of individually, causing multiple recalculations. It also only added permissions on initial load, meaning that permission defaults would remain the same (e.g. ops-have/ignore-... options in general.yml). You should notice a significant reduction in the time taken for new spells to be loaded, whether on startup or later.
⚠️ **GitHub.com Fallback** ⚠️