so i need help doing a right click procidure (issue solved)

Started by Robisocke on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so i need help doing a right click procidure (issue solved)
Fri, 04/09/2021 - 21:01 (edited)

im new to modding and im trying to do a right click procidure to get an item by a block with a specific item when you right click it with it,
and i dont know how to do it im using the 2020.2 version of Mcreator and i make a mod in 1.12.2

Edited by Robisocke on Fri, 04/09/2021 - 21:01
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"your block 1"/Triggers: On…
Fri, 04/09/2021 - 17:42

"your block 1"/Triggers: On block right-clicked

if [ [ get item in main-hand ] == [ "your item 1" ] ] do  (

    set item in main-hand [ "your item 2" ]

)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i visualize it im new…
Fri, 04/09/2021 - 20:36

how do i visualize it im new to doing procedured can you include an image?