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

Started by Robisocke on Fri, 04/09/2021 - 10:33

Topic category: Help with modding (Java Edition)

Last seen on 21:42, 11. Feb 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
Last seen on 01:13, 28. Mar 2022
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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" ]

)

Last seen on 21:42, 11. Feb 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?