User Tools

Site Tools


actions:sequence_handlers:unchecked

Table of Contents

minecraft:unchecked

The minecraft:unchecked sequence handler runs all actions in sequence, regardless of its result. The sequence handler is successful if any action in the sequence executed successfully. An action with this sequence handler may be inlined by only specifying a list of actions.

Fields

Name Description Type Default Value
entries The entries of the sequence. An action, list of actions or hash-prefixed action tag

Example

[
  {
    "action": {
      "type": "minecraft:take_honey",
      "position": "target"
    }
  },
  {
    "action": {
      "type": "minecraft:exchange_item",
      "item": "minecraft:honey_bottle"
    }
  }
]
{
  "type": "minecraft:sequence",
  "handler": "minecraft:unchecked",
  "entries": [
    {
      "action": {
        "type": "minecraft:take_honey",
        "position": "target"
      }
    },
    {
      "action": {
        "type": "minecraft:exchange_item",
        "item": "minecraft:honey_bottle"
      }
    }
  ]
}
actions/sequence_handlers/unchecked.txt · Last modified: 2024/05/01 15:41 by errorcraft