Function Particle - NyaaCat/NyaaUtils GitHub Wiki
Particle
Create, share and show off your unique customized particles!
Command
/nu particle list [TYPE]
List all available particle sets. TYPE can be PLAYER, ELYTRA and OTHER
/nu particle set [TYPE] [ID]
Set your particle as ID when your status is TYPE. E.g., /nu particle set 2 ELYTRA set your particle as ID 2 when you are gliding with elytra.
/nu particle set [TYPE] clear
Clear the configurations on specific TYPE.
/nu particle create [TYPE] [name]
Create a new particle set. This will return the created particle set ID for further settings or editing.
/nu particle add [Particle set ID] [particle name] [amount] [frequency] [offsetX] [offsetY] [offsetZ] [extra]
Add a particle to a particle set.
particle namelisted in configurationamountcontrols how many particles it will spawn at each timefrequencyset to 20 then it spawnamountof particles each second (20ticks)offsetXparticle position offset in XoffsetYparticle position offset in YoffsetZparticle position offset in Zextra- the extra options, like color or speed.
E.g., to add particle HEART to particle set 2, and it spawns 5 hearts around player 0.6x0.6 area and 2 blocks upper than player foot position, use /nu particle add 2 HEART 5 20 0.6 2.0 0.6 0
/nu particle remove [ID] [index]
Remove a particle from a particle set. index left empty to remove the entire particle set.
Permission
nu.particles.player/nu particle list [player|elytra|other]/nu particle set [player|elytra|other] [ID]/nu particle set [player|elytra|other] clear
nu.particles.editor/nu particle create [player|elytra|other] [name]/nu particle add [Particle set ID] [particle name] [amount] [frequency] [offsetX] [offsetY] [offsetZ] [extra]/nu particle remove [ID] [index]
nu.particles.admin- anything with particles.
Configuration
File config.yml section particles
particles:
type:
player: true
elytra: true
other: true
enabled:
- BARRIER
- BLOCK_CRACK
- BLOCK_DUST
- CLOUD
- CRIT
- CRIT_MAGIC
- DAMAGE_INDICATOR
- DRAGON_BREATH
- DRIP_LAVA
- DRIP_WATER
- ENCHANTMENT_TABLE
- END_ROD
- EXPLOSION_HUGE
- EXPLOSION_LARGE
- EXPLOSION_NORMAL
- FALLING_DUST
- FIREWORKS_SPARK
- FLAME
- FOOTSTEP
- HEART
- ITEM_CRACK
- ITEM_TAKE
- LAVA
- MOB_APPEARANCE
- NOTE
- PORTAL
- REDSTONE
- SLIME
- SMOKE_LARGE
- SMOKE_NORMAL
- SNOW_SHOVEL
- SNOWBALL
- SPELL
- SPELL_INSTANT
- SPELL_MOB
- SPELL_MOB_AMBIENT
- SPELL_WITCH
- SPIT
- SUSPENDED
- SUSPENDED_DEPTH
- SWEEP_ATTACK
- TOTEM
- TOWN_AURA
- VILLAGER_ANGRY
- VILLAGER_HAPPY
- WATER_BUBBLE
- WATER_DROP
- WATER_SPLASH
- WATER_WAKE
limits:
PLAYER:
offsetX: 1.5
offsetY: 3.5
offsetZ: 1.5
set: 3
amount: 30
freq: 5
extra: 1.0
OTHER:
offsetX: 1.5
offsetY: 1.5
offsetZ: 1.5
set: 3
amount: 5
freq: 1
extra: 1.0
ELYTRA:
offsetX: 1.5
offsetY: 1.5
offsetZ: 1.5
set: 3
amount: 10
freq: 1
extra: 1.0
Limits explained:
offsetX- the offset in X axisoffsetY- the offset in Y axisoffsetZ- the offset in Z axisset- Amount of particles per set, e.g., set value to 3 will allow add 3 particle configurations in one set.amount- Maximum particles spawn at a time per configurationfreq- Particle spawn frequencyextra- Extra options, speed or color etc.
Usage
See commands.