machine_inventory: type: inventory inventory: chest title: Machine inventory debug: true size: 27 slots: - [] [] [] [] [] [] [] [] [] - [] [] [SHOVEL_PLACE] [] [] [] [] [] [] - [] [] [] [] [] [] [] [] [] SHOVEL_PLACE: type: item debug: false material: paper mechanisms: custom_model_data: 20011 display name: <&r><&6>Digger lore: - <&r><&7>Place a shovel to dig automatically machinr_gui_handler: type: world debug: true events: on player clicks SHOVEL_PLACE in farmingbox_inventory: - determine cancelled on player drags wooden_shovel in machine_inventory: - if : - inventory set slot:12 o:wooden_shovel - else: - determine passively cancelled after player clicks air in machine_inventory with:wooden_shovel: - if : - inventory set slot:12 o:wooden_shovel - else: - determine passively cancelled on player clicks !wooden_shovel|air in farmingbox_inventory: - if !: - determine passively cancelled