Customizing Particles

Locations

  • WAYSTONE_TARGET: The waystone target location

  • WAYSTONE_SOURCE: The waystone source location

  • PLAYER: The player location

Effect Types

CircleParticle

CircleParticle spawns particles in circle.

Parameters

  • Location: The center location of the circle

  • Width: The particle width for every point

  • Height: The particle height for every point

  • Length: The particle length/depth for every point

  • Offset X: The X offset from center location

  • Offset Y: The Y offset from center location

  • Offset Z: The Z offset from center location

  • Gap: The gap between every point

  • Count: The particle count

  • Radius: The radius of the circle

  • Speed: The particle speed

  • Global: When set to true, everyone on the server will be able to see the particle, if not, only specific players can see it

  • Script: The script that runs every tick when the particle shown

Script Variables

  • particleEffect: The Particle parameter

  • deltaX: The Width parameter

  • deltaY: The Height parameter

  • deltaZ: The Length parameter

  • offsetX: The Offset X parameter

  • offsetY: The Offset Y parameter

  • offsetZ: The Offset Z parameter

  • rotateX: Circle X rotation

  • rotateY: Circle Y rotation

  • rotateZ: Circle Z rotation

  • speed: The Speed parameter

  • playerX: The player X coordinate

  • playerY: The player Y coordinate

  • playerZ: The player Z coordinate

  • waystoneData: The waystone data

  • target: The waystone data target

  • tick: current tick

  • visible: is visible

LineParticle

LineParticle spawns particles in line from point A to point B.

Parameters

  • Location A: The point A location

  • Location B: The point B location

  • Speed: The particle speed

  • Count: The particle count

  • Global: When set to true, everyone on the server will be able to see the particle, if not, only specific players can see it

  • Width: The particle width for every point

  • Height: The particle height for every point

  • Length: The particle length/depth for every point

  • A Offset X: The X offset from Location A

  • A Offset Y: The Y offset from Location A

  • A Offset Z: The Z offset from Location A

  • B Offset X: The X offset from Location B

  • B Offset Y: The Y offset from Location B

  • B Offset Z: The Z offset from Location B

  • Script: The script that runs every tick when the particle shown

Script Variables

  • particleEffect: The Particle parameter

  • deltaX: The Width parameter

  • deltaZ: The Length parameter

  • deltaY: The Height parameter

  • sourceOffsetX: The A Offset X parameter

  • sourceOffsetY: The A Offset Y parameter

  • sourceOffsetZ: The A Offset Z parameter

  • targetOffsetX: The B Offset X parameter

  • targetOffsetY: The B Offset Y parameter

  • targetOffsetZ: The B Offset Z parameter

  • gap

  • global

  • player

  • playerX

  • playerY

  • playerZ

  • speed

  • count

  • waystoneData

  • target

  • tick

  • visible

GivePotionEffect

GivePotionEffect gives potion effect to the target player.

Parameters

  • Tick: The potion will be given every X tick

  • Duration: The potion duration

  • Amplifier: The potion amplifier

  • Once: If set to true, it will be given only once and will ignore Tick parameter

  • Show Particle: Whether should show or not the potion particles

  • Force: Force give the potion to the player

  • Show Icon: Show potion icon (only in newer versions of minecraft)

  • Show Ambience: Show potion ambience

Last updated