
ParticleAnimationLib
A particle animation library mod to create cool particle effects super easily!
Обновлён 12 апреля 2026 г. · опубликован 13 апреля 2024 г.
Do you want to create cool particle effects such as cones, cubes, spheres, and vortices but don't know how? Well, then this mod is for you! It is mainly a developer utility, but as a player you can play around with the commands, especially to try out the effects before implementing them with code. It is also fully serverside, meaning you won't need it on the client. It is inspirerd by the EffectLib plugin as you may have guessed.
Currently available effects:
- [3D] Animated Sphere, Sphere, Cuboid, Vortex, Cone, Donut
- [2D] Arc, Line, Animated Circle, Colored and BW Images, Text
At present time this mod is in beta, meaning that stuff could still break or change a bit. And some effects are still missing A forge/neoforge version may come in the future, but I first want to get the fabric/quilt all done before starting the port. Sorry! (It most likely will work with Syntra connector for the time being)
The best way to enjoy this mod is with other people on a server, so you can use the code EMALIGHTDEV on Nodecraft for discount!
How to use this mod
This mod on its own, is only intended for developers. But don't worry, if you are a player and still want to try out all of the amazing effects (albeit with some limitations currently) you can do so by install ParticleAnimationLibCommands.
Yes, I know, the commands are a bit long and confusing, that's why I've also started working on a wiki, that you can find right here!
How to create the effects?
All of the effects are in the effects package and you can create a new effect simply by creating a new effect object or you can use their builder method, kinda like the Block properties.
Then you can use your preferred flavour of #run() method to activate the effect:
//Constructor pseudocode with runFor example
Effect effect = new Effect(ServerWorld world, ParticleEffect effect, Vec3d originPos, int particles, Other stuff...)
effect.runFor(5);
//Builder pseudocode with run and setIterations example (20 ticks = 1 second)
Effect effect = Effect.builder(ServerWorld world, ParticleEffect effect, Vec3d originPos).particles(10).anotherOption(true).build;
effect.setIterations(5*20);
effect.run();
Note: when using the builder you will need to always supply the world particle effect and origin pos to the method, beacuse every animation effect uses them and it is assumed they are not null. You can change them later if you need to. TLDR; you are forced to supply them in order to make the effect work instead of crashing!
Demo of some of the effects from version 0.0.1
How to manipulate the animation effect?
Every effect has its own getters and setters, so you can use those to change the settings before calling the run method. You can also provide a lamda that will execute each tickt that the effect is active to the run/runFor method. For more information about what each setting does please refer to the javadoc of the constructor for that effect.
How do I use the commands?
First of all, you must install the companion mod ParticleAnimationLibCommands.
You can use either pal or particleanimationlib and then use tab-completition to create your effects. You can even have a preview of each effect by using /pal <effect> demo <particle> <pos>!
Please refer to the wiki for more information!
For developers:
Add this library into your build.gradle as a dependency
repositories {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
}
dependencies {
modImplementation "maven.modrinth:particleanimationlib:<version>"
}
You can get the version number from the modrinth versions page.
Credit
This mod is based on the bukkit plugin EffectLib by elBukkit team, check it out too! The effects are taken from there and tweaked to be compatible with modding, occasionally adding extra functionality.
License
This library is available under MIT license
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 0.1.2+26.1 | Релиз | 26.1, 26.1.1, 26.1.2 | fabric, quilt | 12 апреля 2026 г. | .jar (102 КБ) |
| 0.1.2+forge | Альфа | 1.21.2, 1.21.3, 1.21.4, 1.21.5 | forge | 24 февраля 2026 г. | .jar (108 КБ) |
| 0.1.2+1.21-neo | Альфа | 1.21.2, 1.21.3, 1.21.4, 1.21.5 | neoforge | 17 февраля 2026 г. | .jar (107 КБ) |
| 0.1.2+1.21.10 | Бета | 1.21.9, 1.21.10, 1.21.11 | fabric, quilt | 7 ноября 2025 г. | .jar (102 КБ) |
| 0.1.2 | Бета | 1.21.1, 1.21.2, 1.21.3, 1.21.4 | fabric, quilt | 1 июля 2025 г. | .jar (102 КБ) |
| 0.1.2+1.21.5 | Бета | 1.21.5, 1.21.6, 1.21.7 | fabric, quilt | 1 июля 2025 г. | .jar (102 КБ) |
| 0.1.1 | Бета | 1.21.5 | fabric | 21 апреля 2025 г. | .jar (101 КБ) |
| 0.1.0 | Бета | 1.21.1, 1.21.2, 1.21.3, 1.21.4 | fabric, quilt | 17 февраля 2025 г. | .jar (101 КБ) |
| 0.0.3 | Альфа | 1.21 | fabric | 2 июля 2024 г. | .jar (121 КБ) |
| 0.0.2+1.19.2 | Альфа | 1.19.2 | fabric, quilt | 13 мая 2024 г. | .jar (119 КБ) |
| 0.0.2+1.20 | Альфа | 1.20.3, 1.20.4, 1.20.5, 1.20.6 | fabric, quilt | 13 мая 2024 г. | .jar (120 КБ) |
| 0.0.1 | Альфа | 1.20.1, 1.20.2, 1.20.3, 1.20.4 | fabric, quilt | 21 апреля 2024 г. | .jar (91 КБ) |
Ченджлог
0.1.2+26.1Релиз26.1, 26.1.1, 26.1.2 · 12 апреля 2026 г.
Updated to 26.1.2!
0.1.2+forgeАльфа1.21.3, 1.21.4, 1.21.5 · 24 февраля 2026 г.
Might be unstable and will recive limited supprot
0.1.2+1.21-neoАльфа1.21.3, 1.21.4, 1.21.5 · 17 февраля 2026 г.
Actually ported to Neoforge!
0.1.2+1.21.10Бета1.21.9, 1.21.10, 1.21.11 · 7 ноября 2025 г.
- Updated to 1.21.9/.10
0.1.2Бета1.21.2, 1.21.3, 1.21.4 · 1 июля 2025 г.
- Added option to set the particles to display as "forced" aka rendered further away and bypassing the
0.1.2+1.21.5Бета1.21.5, 1.21.6, 1.21.7 · 1 июля 2025 г.
- Updated to 1.21.5, .6, .7 (now the versioning will be +1.21.5 for versions above 1.21.5 inclusive, and without the "+1.21.5" for versions 1.17.x-1.21.4)
- Added option to set the particles to display as "forced" aka rendered further away and bypassing the
0.1.0Бета1.21.2, 1.21.3, 1.21.4 · 17 февраля 2025 г.
Hi! Finally in beta!
- The main change has been removing the commands, and separeting them into another mod, PAL Commands!
- With this, the core library is now (mostly) version indipendet, meaning that this version should work from 1.17 up to the latest versions of the game!
- Added the Text effect! With this one you will be able to display a custom text, like "Hello World" using particles, with custom fonts supported!
- Added the Donut effect, which will allow you to create donuts!
- Finally added a wiki (only for the commands which were a bit lacking)
- ColroedImageEffect and BlackAndWhite image effect have been merged into a single new ImageEffect, with the option to make the selected image BW or with inverted colors.
- Removed the "subtract" parameters from the AnimatedCircleEffect since they were useless (you can change the position directly)
- Added an option to ALL of the effects to limit the number of particles spawned at a given time. These include shouldSpawnParticlesEveryNIteration, which makes particle spawn every N iteration specified in antoher parameter, a particleLimit, and limitParticlesEveryNIteration etc (you can find more info in the javadocs and here
- Added new options to the SphereEffect, the halfSphere parameter which if true will only display the top half of the sphere and inverHalfSphere which will show the bottom one
- Fixed memory issues with Cone & Vortex effects (spawning all the particles of the effect on each iteration)
- Updated and improved some of the javadocs
0.0.3Альфа1.21 · 2 июля 2024 г.
Updated to 1.21!
What's next:
- Separating the commands and the API into different packages/projects to be easier to mantain
- Adding more effects and improving the old ones
Полная история изменений — на Modrinth.
Комментарии
Загружаем…





