Перейти к содержимому
Mineforgian

MagicParticles

A server side cosmetics mod, that allows administrator to create custom particles using simple json files

Загрузки
7K
Подписчики
39
Обновлён
17 июня 2026 г.
Лицензия
MIT

Опубликован 17 июня 2024 г.

Magic Particles

Discord

A fabric server side cosmetics mod, that allows administrator to create custom particles using simple json files

Commands

  • /mp - List all available magic particles - magic-particles.root
  • /mp set <id> - Set current magic particle - magic-particles.particle
  • /mp disable - Disable current magic particle - magic-particles.disable
  • /mp reload - Reload magic particles and messages - magic-particles.reload

Custom Particles

This mod includes more than 40 default particles, which can be useful example files for understanding the format.

JSON Format

Each magic particle type needs a human friendly name and a list of particles it consists of

Root

{
  "name": "Some name", // Human friendly name
  "particles": [
    // Particle definitions
  ]
}

Particle definition

There are currently 3 particle definition types (simple, image and bezier). All of these share a couple of common values in addition to their specialized ones.

Simple

{
  "type": "simple",
  "count": 1, // Amount of particles (optional)
  "pos": [1.0, 2.0, 0.0], // Offset from origin (affected by rotation)
  "delta": [0.1, 0.1, 0.1], // Particle area size (optional)
  "speed": 0, // Particle speed parameter, used by some particle types (optional)
  "particle_type": {
    "type": "minecraft:angry_villager" // Particle type: https://minecraft.wiki/w/Particles_(Java_Edition)#Types_of_particles
    // Some particles types have extra attributes, which need to be specified here
  },
  "anchor": "feet", // The particle origin ["feet"|"eyes"] (optional)
  "origin": [0.0, 0.5, 0.0], // Offset from origin (optional)
  "billboard": "fixed" // What rotation axis should affect "pos" ["fixed", "vertical", "horizontal", "center"] (optional)
}

Image

{
  "type": "image",
  "image": "drex.png", // Path to the image, the image needs to be in config/magic-particles/images/<image>
  "size_x": 0.8, // The width of the particle image
  "size_y": 0.8, // The height of the particle image
  "pixel_size": 0.6, // The size of each individual particle
  "pos": [1.0, 2.0, 0.0], // Offset from origin (affected by rotation)
  "anchor": "feet", // The particle origin ["feet"|"eyes"] (optional)
  "origin": [0.0, 0.5, 0.0], // Offset from origin (optional)
  "billboard": "fixed" // What rotation axis should affect "pos" ["fixed", "vertical", "horizontal", "center"] (optional)
}

Bezier

(Can't really recommend to use this, creating an image of the desired shape and using the image type is easier)

Ченджлог

1.3.1+26.2Релиз26.2 · 17 июня 2026 г.

Fixed

  • Crash when disabling particles on 1.21.11
1.3.1+26.1Релиз26.1, 26.1.1, 26.1.2 · 25 марта 2026 г.

Fixed

  • Crash when disabling particles on 1.21.11
1.3.1+1.21.11Релиз1.21.11 · 14 декабря 2025 г.

Fixed

  • Crash when disabling particles on 1.21.11
1.3.0+1.21.11-rc2Релиз1.21.11-rc2, 1.21.11 · 5 декабря 2025 г.

Added

  • Rotation field to images

Changed

  • Improved performance of image particles
1.3.0+1.21.9Релиз1.21.9, 1.21.10 · 1 октября 2025 г.

Added

  • Rotation field to images

Changed

  • Improved performance of image particles
1.3.0+1.21.8Релиз1.21.6, 1.21.7, 1.21.8 · 7 августа 2025 г.

Added

  • Rotation field to images

Changed

  • Improved performance of image particles
1.3.0+1.21.5Релиз1.21.5 · 7 августа 2025 г.

Added

  • Rotation field to images

Changed

  • Improved performance of image particles
1.3.0+1.21.1Релиз1.21, 1.21.1 · 7 августа 2025 г.

Added

  • Rotation field to images

Changed

  • Improved performance of image particles

Комментарии

Загружаем…