Playerinteract

Criteria: PlayerInteract

Triggered when a player interacts with a matching item, block, or action.

Attributes

Attribute Description Default
Action The Bukkit interaction action to match, such as RIGHT_CLICK_BLOCK, LEFT_CLICK_BLOCK, RIGHT_CLICK_AIR, LEFT_CLICK_AIR, or PHYSICAL. Supports comma-separated actions. Any
Item The item in hand to match using MythicMobs item matcher syntax. Any
Items A list of items to match. Any
Block The clicked block material to match. Supports comma-separated materials. Any
Hand The equipment slot used, such as HAND or OFF_HAND. Supports comma-separated slots. Any
Strict / Exact Requires stricter item data matching. false
VanillaOnly / Vanilla Restricts matching to vanilla item data. false
Inverted / Blacklist Progresses when the held item does not match the configured item list. false

Examples

SOME_ACHIEVEMENT:
  Criteria:
    USE_LAPIS_ON_ENCHANTING_TABLE:
      Type: PlayerInteract
      Action: RIGHT_CLICK_BLOCK
      Item: LAPIS_LAZULI
      Block: ENCHANTING_TABLE
      Hand: HAND
Updated Aug 19, 2026