text
stringlengths 0
1.13k
|
---|
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, persistence, resource_name, start_delay, passive_persistence, toggle_inactive_playable |
Requires: identifier, resource_name |
resource_name: A list of GUI class names that are allowed to partially match the class powering |
the current GUI screen. |
effect |
Index |
Activates based on the potion effects currently applied to the player. |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, persistence, resource_name, start_delay, passive_persistence, toggle_inactive_playable |
Requires: identifier, resource_name |
resource_name: A list of effect names that are allowed to partially match one of the |
effects the player currently has applied |
zones |
Index |
Activates based on the coordinate position of the player. |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, persistence, start_delay, passive_persistence, toggle_inactive_playable, zone_min_x, zone_max_x, zone_min_y, zone_max_y, zone_min_z, zone_max_z |
Requires: identifier, zone_min_x, zone_max_x, zone_min_y, zone_max_y, zone_min_z, zone_max_z |
zone_min_x: The player's x coordinate must be greater than this value |
zone_max_x: The player's x coordinate must be less than this value |
zone_min_y: The player's y coordinate must be greater than this value |
zone_max_y: The player's y coordinate must be less than this value |
zone_min_z: The player's z coordinate must be greater than this value |
zone_max_z: The player's z coordinate must be less than this value |
pvp |
Index |
Activates when a player is damaged by another player |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, resource_name, persistence, start_delay, passive_persistence, toggle_inactive_playable |
Requires: identifier, persistence |
advancement |
Index |
Activates when a player gains an advancement |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, resource_name, persistence, start_delay, passive_persistence, toggle_inactive_playable |
Requires: identifier, resource_name |
Note that this trigger is only really active for 1 tick, so either the persistence parameter or a must_finish song parameter is a soft requirement if you actually want to make use of it. |
resource_name: A list of advancement names that are allowed to partially match one of the |
the advancement gained by the player. |
statistic |
Index |
Activates based on a stat value of the player |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, level, start_toggled, not, resource_name, persistence, start_delay, passive_persistence, toggle_inactive_playable |
Requires: identifier, resource_name, level |
resource_name: A list of stat names that are allowed to partially match at least 1 stat id. |
level: The numerical value of any matching stat must be greater than this |
command |
Index |
A special trigger that allows for activation upon running the command '/commandtrigger identifier' where identifier pertains to the instance of the command trigger that is being queried. |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, persistence, start_delay, passive_persistence, toggle_inactive_playable |
Requires: identifier |
Note that this trigger is only really active for 1 tick, so either the persistence parameter or a must_finish song parameter is a soft requirement if you actually want to make use of it. |
blockentity |
Index |
Activates based on tile entities that are around the player. |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, persistence, start_delay, passive_persistence, toggle_inactive_playable, resource_name, detection_range, detection_y_ratio |
Requires: identifier, resource_name |
inventory |
Index |
Activates based on certain items in certain slots of the player's inventory |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, persistence, start_delay, passive_persistence, toggle_inactive_playable, items, slots |
Requires: identifier, items |