Area
An object that defines a bounding box (that can have custom shapes) used for getting the entities/blocks within it. This is mainly used for executing actions or counting how many entities/blocks are within it.
Format
| Field | Type | Default | Description |
|---|---|---|---|
type |
Identifier | The ID of the desired area type. | |
target |
Target | Determines what kind of target is affected by the area. | |
shape |
Shape | The shape of the defined area. |
Target
A string that determines what kind of target is affected by an area.
Values
| Value | Description |
|---|---|
entity |
The area will affect entities within it. |
block |
The area will affect blocks within it. |