Compatibility
Minecraft: Java Edition
1.21.1–1.21.3
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed Apache-2.0
Published 3 months ago
Updated 2 months ago
MoreParticle
Create particle with customization
Commands
The MoreParticle use vanilla /particle command
particle <name>{<NBT>} [<pos>] [<delta>] <speed> <count> [force|normal] [viewers] [tag]
- all custom particles are customized by <NBT> field
- force always useful for display particles
- the time unit is
tick
, in ususally1t=0.05s
- if particles count over 16384 it makes older particle dead, use particle limit changer mod to remove limit
tag
field is for define the tag for particle,used bykillparticle
command
killparticle command
killparticle <players> <tag>
if has no player
felid ,select all player; if has no tag
field, kill all particle
particle render modes(enum)
type | description |
---|---|
TERRAIN_SHEET | terrain particle, it may use for inner testing |
PARTICLE_SHEET_TRANSLUCENT | support transparency |
PARTICLE_SHEET_OPAQUE | unsupport transparency |
PARTICLE_SHEET_LIT | unsupport transparency |
particle lights
particle has two lights, one is block light, another is sky light
$light = blockLight * 16 + skyLight * 65536$
[soy:calc] function calculate particle
function calculate particle designed for testing, calculate is slow and too much function calculate particle will cause lagging
NBT fields
name | type | description | required? | default value |
---|---|---|---|---|
xfun |
string | x direction's calculate function(position is relative) | √ | |
yfun |
string | y direction's calculate function(position is relative) | √ | |
zfun |
string | z direction's calculate function(position is relative) | √ | |
cfun |
string | color's calculate function | "16777215" | |
age |
int | particle's life | √ | |
random |
int | particle's extra life in random | 1 |
[soy:seq] sequence particle
sequence particle use array to store particle's action in every tick
NBT fields
name | type | description | required? | default value |
---|---|---|---|---|
xlist |
double[] | x direction's sequence(position is relative) | √ | |
ylist |
double[] | y direction's sequence(position is relative) | √ | |
zlist |
double[] | z direction's sequence(position is relative) | √ | |
age |
int | particle's life | √ | |
random |
int | particle's extra life in random | 1 | |
clist |
int[] | color's sequence(rgba model) | [16777215] | |
alist |
int[] | size sequence | [1f] | |
light |
int[] | light sequence | [15728880] | |
render |
enum | render mode | "PARTICLE_SHEET_TRANSLUCENT" |
[soy:seqt] sequence particle with texture
sequence particle with texture use array to store particle's action in every tick, and support custom texture
NBT field
name | type | description | required? | default value |
extended by [soy:seq] | ||||
texture | string | texture namespace | "" |
soy:seqv sequence particle with view
sequence particle with texture use array to store particle's action in every tick, and added custom viewing support
NBT field
name | type | description | required? | default value |
extended by [soy:seqt] | ||||
relative | boolean | particle's angle is relateive with camera | true | |
angleX | float[] | X rotation | [0f] | |
angleY | float[] | Y rotation | [0f] | |
angleZ | float[] | Z rotation | [0f] |