forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Cube Effect
AkitoBurrito edited this page Jan 16, 2023
·
3 revisions
Description: This effect creates a wireframe cube.
Option | Description | Type | Default Value |
---|---|---|---|
particle |
The name of the particle that is displayed. (uses different particle names compared to general MagicSpells). The list of these particles can be found here. | String | FLAME |
particles |
The number of particles displayed in each row. | Integer | 8 |
edgeLength |
Length of the edges of the cube. | Float | 3 |
angularVelocityX |
Turns the cube by this angle each iteration around the x-axis. | Double | 0.015708 |
angularVelocityY |
Turns the cube by this angle each iteration around the y-axis. | Double | 0.018480 |
angularVelocityZ |
Turns the cube by this angle each iteration around the z-axis. | Double | 0.020268 |
enableRotation |
Whether or not the cube should rotate. | Boolean | true |
outlineOnly |
Whether only the outline of the cubes are drawn. | Boolean | true |
orient |
Whether the effect should orient pitch and yaw. | Boolean | false |
type |
The type of effect used. The three types are DELAYED , INSTANT , and REPEATING . |
String | REPEATING |
period |
How long to wait, in ticks, between each iteration. | Integer | 5 |
iterations |
Number of times to repeat the effect. | Integer | 200 |
CubeExample:
spell-class: ".instant.DummySpell"
effects:
Effect1:
position: caster
effect: effectlib
effectlib:
class: CubeEffect
particle: FLAME
particles: 8
edgeLength: 3
angularVelocityX: 0.015708
angularVelocityY: 0.018480
angularVelocityZ: 0.020268
type: REPEATING
period: 5
iterations: 200
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2