AnimatedCircle command
Oriented effect
Last updated
Oriented effect
Last updated
This effect spawns an animated circle. You can also use it to make 2d spirals if you want. You can make even semi circles, or partial ones. It can be oriented towards a player's looking direction as well. You can also do some crazy stuff by using some rotation, check the cards below!
To use this command you will need to type:
/pal animatedcircle <paramters...>
To display the demo effect use:
/pal animatedcricle demo <particle> <posX> <posY> <posZ> <duration>
This will a small animated circle of 1 block diamter, like a "loading" cirlce.
The basic command structure for this effect is:
/pal animatedcircle <particle> <originPos> <yaw> <pitch> <count> <radius> <radiusGrow> <maxAngle> <wholeCircle> <resetCircle> <enableRotation> <angularVelocity> <rotations> <subtractFromOrigin> <duration>
or
/pal animatedcircle <particle> <originPos> <count> <radius> <radiusGrow> <maxAngle> <wholeCircle> <resetCircle> <enableRotation> <angularVelocity> <rotations> <subtractFromOrigin> <duration>
particle
, originPos
, yaw
, pitch
and duration
have already been explained in the General Information page.
count
is the total number of particles that will be displayed in the circle affect, aka the total number of particles a circle is going to be made up of. The more, the more defined the circle will be.
radius
is the the radius of the circle.
radiusGrow
defines how much the radius of a circle will grow each iteration. You can use this parameter to make some spirals! It is advised to keep this values at or below 0.1
, since bigger increments will make a VERY big effect, which won't be easily visible.
maxAngle
is used to create fractions of circles. It is represented in radians, and is the max angle the circle will cover, so, for example, if you set it to 3.14 (π, pi) it will create an half-circle!
wholeCircle
this parameter allows you to change from a fully displayed circle ("static", setting this to true
), to a progressivley displayed one ("animated", setting this to false
).
resetCircle
makes the circle start at the same origin every step. You can use this along with maxAngle to form persisten semicircles (or subparts of cicles, like quarters). To make this work you will need to set the wholeCircle paramter to false
, otherwise it will just display a point.
enableRotation
enables or disables the rotation of the circle, linked to next paramter:
angularVelocity
is another set of 3 double values (the floating point ones) which reperest the angular velocity at which the circle rotates in each direction. They are expressed in radians (so π = 180°)
rotation
is similar to angularVelocity, but is a fixed, static rotation. It also uses the same type o values, so 3 radians one for each direction.
The standard circle
/pal animatedcircle minecraft:soul_fire_flame ~ ~ ~ 50 2 0 3.14 true false false 0.0 0.0 0.0 0.0 0.0 0.0 5
A semi circle
/pal animatedcircle minecraft:soul_fire_flame ~ ~ ~ 50 2 0 3.14 true true false 0.0 0.0 0.0 0.0 0.0 0.0 5
Adding some angular velocity
/pal animatedcircle minecraft:soul_fire_flame ~ ~ ~ 50 2 0 3.14 false false true 2.0 0.0 0.0 0.0 0.0 0.0 5
Example of messing around with parameters (angularVelocity x=2.0)
/pal animatedcircle minecraft:electric_spark ~ ~ ~ 50 2 0 7 true false true 0.0 2.0 0.0 0.0 0.0 0.0 3
A crazy cool effect, which is a ball btw
/pal animatedcircle minecraft:soul_fire_flame ~ ~ ~ 50 2 0 3.14 true false true 2.0 0.0 0.0 0.0 2.0 1.0 5