User Tools

Site Tools


actions:action_types:sequence

minecraft:sequence

The minecraft:sequence action executes multiple different actions in sequence. Its value is a sequence handler. You may also inline the sequence handler by specifying a list of actions, in which case it uses minecraft:unchecked. The success of the action depends on the specified sequence handler.

Example

{
  "type": "minecraft:sequence",
  "handler": "minecraft:passing",
  "entries": [
    {
      "action": {
        "type": "minecraft:apply_suspicious_stew_effects_from_item",
        "entity": "this"
      }
    },
    {
      "action": {
        "type": "minecraft:exchange_item",
        "item": "minecraft:bowl"
      }
    }
  ]
}
actions/action_types/sequence.txt · Last modified: 2024/05/01 16:29 by errorcraft