Getting An Item Via Right Clicking On A Specific Block

Started by Nimbed on Fri, 04/15/2022 - 22:49

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Getting An Item Via Right Clicking On A Specific Block
Fri, 04/15/2022 - 22:49

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 15:54, 5. Jun 2022
Joined Mar 2022
Points:

User statistics:

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