Getting An Item Via Right Clicking On A Specific Block

Started by Nimbed on

Topic category: Help with modding (Java Edition)

Last seen on 23:07, 15. Apr 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Getting An Item Via Right Clicking On A Specific Block

Hello, I am trying to make a mod that allows you to get a certain item when right-clicking ONLY on bedrock. If anyone knows how to do this please share, thank you. :)

Last seen on 09:33, 25. Apr 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a new procedure Set…
Mon, 05/02/2022 - 15:29

Create a new procedure

Set the trigger to "when a player right-click on a bloc"

If block at xyz = bedrock

Add 1 [your item] to the event/target entity inventory