Events

Add special behaviour on your items based on some events

events:
    shift_right_click: #when you press shift+right click
        #....
    right_click: #when you right click
        #....
    shift_left_click: #when you shift+left click
        #....
    left_click: #when you left click
        #....
    attack: #when you attack a mob/player
        #...
    block_break: #when you break a block using this item or another one (depends)
                 #scroll down for more info
        #...
    fishing: #when you catch a fish with fishing rod
        #...
    kill_mob: #when you kill a mob
        #...
    wear: #when you wear an armor piece or hat
        #...
    unwear: #when you unwear an armor piece or hat
        #...
    held: #when set item in main hand to this custom item (hotbar)
        #...
    unheld: #when you change item in main hand
        #...
    drop: #when you drop this item
        #...
    pickup: #when you pickup this item
        #...

Events: actions

Now that you know which events can be triggered you have to configure what happens

Throwables

Last updated

Was this helpful?