feat: 1.21.5 - 1.21.10 support #8
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the library to support new Minecraft particle effects introduced in version 1.21.10 and refactors code for improved clarity and consistency. The most important changes include adding support for new particles, updating the minimum supported Minecraft version, and introducing the new ColorParticleOption class, which was introduced in 1.20.5. This new class changes how coloured particles are encoded, now using ARGB values for certain particles that support setting brightness/alpha values.
Tested versions
New particle support
COPPER_FIRE_FLAME,FIREFLY, andTINTED_LEAVEStoParticleEffect, including documentation and version checks for each. [1] [2] [3] [4] [5] [6]SPELL_MOBandSPELL_MOB_AMBIENTto use theREGULAR_COLORproperty and adjusted version checks for ambient particles. Note:SPELL_MOB_AMBIENThas been removed as of 1.20.5 and has been merged withentity_effect[1] [2]ParticleBuilder.Minecraft version support
1.21.4to1.21.10ingradle.properties.Internal API extensions
ParticleConstantsforColorParticleOptionclass, methods, and constructors to support new colourable particle features. [1] [2] [3] [4] [5] [6]