介绍
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 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
tagfield is for define the tag for particle,used bykillparticlecommand
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] | |
常见问题
More Particle 支持哪些 Minecraft 版本?
More Particle 支持 Minecraft Java 版 1.21.1–1.21.3,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
More Particle 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分