MagicParticles

MagicParticles

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

12 590 downloads 41 followers

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)

Version Minecraft Loader Download

MagicParticles 1.3.2+26.3

1.3.2+26.3

26.3
fabric, quilt
Download

MagicParticles 1.3.2+26.2

1.3.2+26.2

26.2
fabric, quilt
Download

MagicParticles 1.3.2+26.1

1.3.2+26.1

26.1
fabric, quilt
Download

MagicParticles 1.3.2+1.21.8

1.3.2+1.21.8

1.21.6, 1.21.7, 1.21.8
fabric, quilt
Download

MagicParticles 1.3.2+1.21.5

1.3.2+1.21.5

1.21.5
fabric, quilt
Download

MagicParticles 1.3.2+1.21.11

1.3.2+1.21.11

1.21.11
fabric, quilt
Download

MagicParticles 1.3.2+1.21.10

1.3.2+1.21.10

1.21.10, 1.21.9
fabric, quilt
Download

MagicParticles 1.3.2+1.21.1

1.3.2+1.21.1

1.21, 1.21.1
fabric, quilt
Download

MagicParticles 1.3.1+26.2

1.3.1+26.2

26.2
fabric, quilt
Download

MagicParticles 1.3.1+26.1

1.3.1+26.1

26.1, 26.1.1, 26.1.2
fabric, quilt
Download

MagicParticles 1.3.1+1.21.11

1.3.1+1.21.11

1.21.11
fabric, quilt
Download

MagicParticles 1.3.0+1.21.11-rc2

1.3.0+1.21.11-rc2

1.21.11, 1.21.11-rc2
fabric, quilt
Download

MagicParticles 1.3.0+1.21.9

1.3.0+1.21.9

1.21.10, 1.21.9
fabric, quilt
Download

MagicParticles 1.3.0+1.21.8

1.3.0+1.21.8

1.21.6, 1.21.7, 1.21.8
fabric, quilt
Download

MagicParticles 1.3.0+1.21.5

1.3.0+1.21.5

1.21.5
fabric, quilt
Download

MagicParticles 1.3.0+1.21.1

1.3.0+1.21.1

1.21, 1.21.1
fabric, quilt
Download

MagicParticles 1.2.3+1.21.6-rc1

1.2.3+1.21.6-rc1

1.21.6, 1.21.6-rc1, 1.21.7, 1.21.8
fabric, quilt
Download

MagicParticles 1.2.3+1.21.5-rc1

1.2.3+1.21.5-rc1

1.21.5, 1.21.5-rc1, 1.21.5-rc2
fabric, quilt
Download

MagicParticles 1.2.3+1.21.4

1.2.3+1.21.4

1.21.4
fabric, quilt
Download

MagicParticles 1.2.3+1.21.2-rc2

1.2.3+1.21.2-rc2

1.21.2, 1.21.3
fabric, quilt
Download

MagicParticles 1.2.3+1.21

1.2.3+1.21

1.21, 1.21.1
fabric, quilt
Download

MagicParticles 1.2.2+1.20.6

1.2.2+1.20.6

1.20.6
fabric, quilt
Download

MagicParticles 1.2.2+1.21

1.2.2+1.21

1.21
fabric, quilt
Download

MagicParticles 1.2.1+1.20.1

1.2.1+1.20.1

1.20.1
fabric, quilt
Download

MagicParticles 1.2.1+1.21

1.2.1+1.21

1.21
fabric, quilt
Download

MagicParticles 1.2.1+1.20.6

1.2.1+1.20.6

1.20.6
fabric, quilt
Download

MagicParticles 1.2.0+1.20.1

1.2.0+1.20.1

1.20.1
fabric, quilt
Download

MagicParticles 1.2.0+1.20.6

1.2.0+1.20.6

1.20.6
fabric, quilt
Download

MagicParticles 1.2.0+1.21

1.2.0+1.21

1.21
fabric, quilt
Download

MagicParticles 1.1.0+1.20.6

1.1.0+1.20.6

1.20.6
fabric, quilt
Download

MagicParticles 1.1.0+1.21

1.1.0+1.21

1.21
fabric, quilt
Download