Skip to content

Trigger (Entity Type)

Apex Aeon edited this page Feb 2, 2018 · 1 revision

See Trigger (Disambiguation)

Trigger (Entity Type)

Description

The Trigger entity type is an entity that will emit a trigger output when the player's coordinates are within a specified boundary. This can be used for many things, and this entity is nested in other types of entities to make more complex systems.

Syntax

The JSON syntax for creating this type of entity is as follows:

{
"type":"trigger",
"name":<str:name of this entity>,
"output":<str:name of entity to be triggered>,
"x_minimum":<int:x value of the northwestern corner>,
"y_minimum":<int:y value of the northwestern corner>,
"z_minimum":<int:z value of the northwestern corner>,
"x_maximum":<int:x value of the southeastern corner>,
"y_maximum":<int:y value of the southeastern corner>,
"z_maximum":<int:z value of the southeastern corner>
}

Clone this wiki locally