More Particle

Quick rating

Community listing page, reviews here may not be monitored by the author.

More Particle

By BottleSoyOwner

No reviews yet

Create particle with customization

Mod Loaders
Minecraft

About

Description

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 ususally 1t=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 by killparticle 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

nametypedescriptionrequired?default value
extended by [soy:seq]
texturestringtexture 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

nametypedescriptionrequired?default value
extended by [soy:seqt]
relativebooleanparticle's angle is relateive with cameratrue
angleXfloat[]X rotation[0f]
angleYfloat[]Y rotation[0f]
angleZfloat[]Z rotation[0f]