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

Arc command

Targeted effect

PreviousAnimatedCircle commandNextCone command

Last updated 3 months ago

Description

This effect spawns an arc between two points. You can configure the height of the arc and its orientation

To use this command you will need to type:

/pal arc <paramters...>

Demo effect

To display the demo effect use:

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

This will spawn an arc

Command Structure

The basic command structure for this effect is:

/pal arc <particle> <originPos> <targetPos> <count> <height> <duration>

  • count is the total number of particles that will make up the arc. The more, the more defined the arc will be.

  • height is the height at the middle point of the arc. Aka the top height the arc will reach between the two points.

particle , originPos, targetPos and durationhave already been explained in the .

General Information page

Page cover image
Cover

Example using count = 5 and perIteration = 100

/pal animatedball minecraft:electric_spark ~ ~ ~ 5 100 1 3

Cover

Example using count = 500 and perIteration = 100

/pal animatedball minecraft:electric_spark ~ ~ ~ 500 100 1 3

Cover

Example using factors of 1 2 1, creating an oval

/pal animatedball minecraft:electric_spark ~ ~ ~ 500 100 1 1 2 1 0.0 0.0 0.0 3

Cover

Example using factors of 1 2 1, creating an oval, and rotating it

/pal animatedball minecraft:electric_spark ~ ~ ~ 500 100 1 1 2 1 2.0 0.0 0.0 3