in_mainhand
Requires a player to have an item in their main hand
Condition Syntax
- id: in_mainhand
args:
items: # The list of allowed items
- diamond_sword sharpness:4
- netherite_sword sharpness:3
in_mainhand
Requires a player to have an item in their main hand
- id: in_mainhand
args:
items: # The list of allowed items
- diamond_sword sharpness:4
- netherite_sword sharpness:3