https://meta.denizenscript.com/Docs/Mechanisms/itemtag.firework
So the documentation states that:
Each item in the list can be any of the following:
1: Comma-separated effect data in the format: TRAIL,FLICKER,TYPE,RED,GREEN,BLUE,RED,GREEN,BLUE
For example: true,false,BALL,255,0,0,0,255,0 would create a trailing ball firework that fades from red to green.
2: A MapTag, with "type", "color", "fade_color", "trail", and "flicker" keys.
For example: [type=ball;color=red;fade_color=green;trail=true;flicker=false]
3: A single number, to set the power.
But although this:
firework_rocket[firework=<list[true,false,BALL,255,0,0,255,255,0|true,false,BALL,0,255,0,0,255,255]>]
works, when I try to replace the comma-separated effect data with a map tag, only the first effect in the list is used
Is this a bug or am I doing something wrong?
- spawn <context.location> firework[firework_item=<item[firework_rocket].with[firework=<list[
<map[type=ball;color=red;fade_color=green;trail=true;flicker=false]>
|
<map[type=ball;color=blue;fade_color=green;trail=true;flicker=false]>
]>]>;firework_lifetime=1t;silent=true]
I added newlines for readability, the actual code is 1 line
Is this a bug, or am I doing it wrong?
Mechanism search for 'itemtag.firework'