ParticleAnimationLib Guides
SoruceModritnh page
  • Welcome
  • Getting Started
    • Quickstart
  • Commands
    • General Information
    • AnimatedBall command
    • AnimatedCircle command
    • Arc command
    • Cone command
    • Cuboid command
    • Donut command
    • Image command
    • Line command
    • Sphere command
    • Text command
    • Vortex command
  • Devolopment Guide
    • Coming soon!
Powered by GitBook
On this page
  • Description
  • Demo effect
  • Command Structure
  1. Commands

Sphere command

Normal Effect

PreviousLine commandNextText command

Last updated 2 months ago

Description

This effect will spawn a (hollow) sphere, or half of it! You can set it to expand, or use it as a sort of forcefield around a player! This also one of the least complicated effects.

To use this command you will need to type:

/pal sphere <paramters...>

Demo effect

To display the demo effect use:

/pal sphere demo <particle> <posX> <posY> <posZ> <duration>

This will spawn a small 1x1 full hollow sphere.

Command Structure

The basic command structure for this effect is:

/pal sphere <particle> <originPos> <count> <radius> <radiusIncrease> <particleIncrease> <halfSphere> <invertHalfSphere> <duration>

  • count is the number of particles that make up the sphere, the more, the merrier.

  • radius is the radius of the sphere

  • radiusIncrease is how much to increase the sphere of each iteration/tick, usually you will want to keep it low (0.01-0.2) (it can also be neagtive!)

  • particleIncrease is the number of extra particles to spawn each iteration/tick, usually you will want to keep it low (1-2)

  • halfSphere if set to true will display only half of the sphere

  • invertSphere allows you to display the other half of the sphere

originPos , particle and durationhave already been explained in the .

General Information page
Page cover image
Cover

The standard halfsphere

/pal sphere minecraft:egg_crack ~ ~ ~ 200 2 0 1 true false 5

Cover

The inverted halfsphere

/pal sphere minecraft:egg_crack ~ ~ ~ 200 2 0 1 true false 5

Cover

The sphere growing really fast and nicely

/pal sphere minecraft:witch ~6 ~2 ~ 200 2 0.1 1 false false 5

/pal line minecraft:flame ~ ~ ~ ~ ~ ~8 30 1000 true 6 .0 .5 .0 .0 .0 .0 5