Help to do this procedure

Started by dffdgamer on Mon, 10/12/2020 - 13:24

Topic category: Help with modding (Java Edition)

Last seen on 18:28, 23. Nov 2020
Joined May 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help to do this procedure
Mon, 10/12/2020 - 13:24

I want to right click a block with my hand to give me a specific item.

Last seen on 09:21, 4. Nov 2020
Joined Oct 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
select your block, go on …
Mon, 10/12/2020 - 14:50

select your block, go on "triggers", then add a procedure for "On block right clicked".

then, in the procedure, go on "Player procedure" and add the block "Add [1] [item] to event/target entity inventory"

[item] in the block is actually a red square, double-click on it then select the item!

Last seen on 18:28, 23. Nov 2020
Joined May 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you very much for your…
Mon, 10/12/2020 - 15:52

Thank you very much for your great explanation.