Skip to main content

Box Sized Particle

The boxsized decoration spawns particles randomly inside a 3D box.

It is useful for ambient effects around altars, portals, generators, and magical structures.

Example

type: boxsized
amount: 15
particle:
type: particle
particle: PORTAL
amount: 1
speed: 0.1
center-offset: "0 1 0"
start-point-offset: "-2.5 -0.6 -2.5"
end-point-offset: "2.5 0.5 2.5"

Fields

FieldDescription
amountNumber of random positions generated each time the decoration plays.
particleDecoration played at each generated position. Usually a particle decoration.
center-offsetOffset applied from the structure center.
start-point-offsetFirst corner of the box.
end-point-offsetOpposite corner of the box.

Scheduled particle example

options:
particle:
scheduled:
type: boxsized
amount: 15
particle:
type: particle
particle: PORTAL
amount: 1
speed: 0.1
center-offset: "0 1 0"
start-point-offset: "-2 -1 -2"
end-point-offset: "2 1 2"

Performance advice

Avoid very high amount values on many structures at the same time. Start with values between 5 and 20.