Spawn Firework
Spawns a configured Firework Rocket. Instant defaults to false. Travel uses ordinary upward behavior; a directional launch control is not supplied.
Where to find it
Section titled “Where to find it”Call Method → No Object → Choose Operation → Spawning. Requires Dev access to configure, then a successful compile to activate.
Inputs
Section titled “Inputs”| Input | Type | Role | Requirement | Default / constraint |
|---|---|---|---|---|
| Location | Location | Value | Required | Required |
| Firework Rocket | Item | Value | Required | Required |
| Instant | Boolean | Value | Optional | false |
Result and behavior
Section titled “Result and behavior”Controls the current structure/task or changes the world/event as described. No separate value result is returned.
Configuration example
Section titled “Configuration example”Block: Call Method → No ObjectOperation: Spawn FireworkLocation: Location A in the play areaFirework Rocket: Firework RocketInstant: falseUse this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.
Restrictions and troubleshooting
Section titled “Restrictions and troubleshooting”Use locations and entities in the current plot. World-changing behavior cannot edit protected code areas or escape plot bounds.
Created transient entities belong to the running program and are cleaned up when Play ends or the program stops. Creation is budgeted; permanent-decoration exceptions are documented separately.
Runtime validation: Expected Firework Rocket.
Runtime validation: At most 256 firework effects.
Related guides
Section titled “Related guides”Editor · Arguments · Targets · Expressions · Native behavior
Reference identifier: plot.spawn_firework.