User Tools

Site Tools


actions:action_types:invoke_item_event

minecraft:invoke_item_event

The minecraft:invoke_item_event action invokes an Item Event. This action is successful if the result of the item event is also successful. Note that an item event may only be called once to prevent infinite recursion, and will always fail otherwise.

Fields

Name Description Type Default Value
event The item event to invoke. An item event

Example

{
  "type": "minecraft:invoke_item_event",
  "event": "minecraft:use_on_block"
}
actions/action_types/invoke_item_event.txt · Last modified: 2024/05/04 00:16 by errorcraft