Name | Type | Default Value | Description |
minecraft:bounds |
|
|
Component that defines a minimum and maximum block position for a bounding box and which world dimension the bounding box is in. Every volume must have a bounds component.
Name | Type | Default Value | Description |
dimension |
String |
|
The name of the dimension the bounding box will exist in: one of 'overworld', 'nether' or 'the end'. |
max |
Vector [a, b, c] |
|
The maximum block position of the bounding box. |
min |
Vector [a, b, c] |
|
The minimum block position of the bounding box. |
|
minecraft:fog |
|
|
Displays the given fog whenever a player enters the volume. Each volume can only have one fog attached.
Name | Type | Default Value | Description |
fog_identifier |
String |
|
The identifier of a fog definition. Note that you will not receive any feedback if the definition does not exist. |
priority |
Integer |
INT_MAX |
The priority for this fog definition setting. Smaller numbers have higher priority. Fogs with equal priority will be combined together. |
|
minecraft:on_actor_enter |
|
|
Component that defines what happens when an actor enters the volume. Can contain multiple json objects.
Name | Type | Default Value | Description |
on_enter |
Array |
|
Required array that contains all the triggers. condition
Molang expression to test against the actor. The given event will be triggered if the expression evaluates to true.Back to top
event
Name of the event to run.Back to top
target
One of "self" or "other". Self means the event is attached to the volume. Other means the event is attached to the actor.Back to top
|
|
minecraft:on_actor_leave |
|
|
Component that defines what happens when an actor leaves the volume.
Name | Type | Default Value | Description |
on_leave |
Array |
|
Required array that contains all the triggers. condition
Molang expression to test against the actor. The given event will be triggered if the expression evaluates to true.Back to top
event
Name of the event to run.Back to top
target
One of "self" or "other". Self means the event is attached to the volume. Other means the event is attached to the actor.Back to top
|
|