Command When Pick Up 2021-02-03

Execute any command when picking up a certain item!

  1. NightOwlOO
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    When you pick up a certain item you can have it run any command you want.
    Config looks like this:

    command-executed: "/say pickup"
    item-type: "TOTEM_OF_UNDYING"
    remove-item: true

    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Change "command-executed" to change the command you would like to execute
    Change "item-type" to any item material type in all caps (Cap sensitive) to change the item the executes the command
    Change "remove-item" to decide whether or not it will remove the item when the command is executed.