Skip to content

Particle Cloud Improvements#1006

Merged
TonytheMacaroni merged 9 commits intoTheComputerGeek2:mainfrom
JasperLorelai:main
Mar 31, 2025
Merged

Particle Cloud Improvements#1006
TonytheMacaroni merged 9 commits intoTheComputerGeek2:mainfrom
JasperLorelai:main

Conversation

@JasperLorelai
Copy link
Copy Markdown
Collaborator

@JasperLorelai JasperLorelai commented Mar 23, 2025

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 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 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 radius is ignored for 20 ticks and particles only spawn at the center of the cloud.

Fixes:

  • 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.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 29, 2025

Built artifact: MagicSpells-4.0-Beta-17-6784289

@JasperLorelai JasperLorelai force-pushed the main branch 2 times, most recently from c123511 to 3b6809b Compare March 30, 2025 15:18
- Added "dust_color_transition" config options.
- Added "argb-color" for "entity_effect".
- Particles and their color must be set after potion effects. Color should be set when setting the particle, rather than with "AreaEffectCloud#setColor".
- Returns "particle-name" option accidentally removed in 4.0 Beta 13 when renamed to "particle".
@TonytheMacaroni TonytheMacaroni merged commit c4eb9eb into TheComputerGeek2:main Mar 31, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants