Can I make it so that when I right click a block with a determined item in your hand something happens?

Started by Guillesahu07 on Mon, 09/21/2020 - 19:28

Topic category: Help with MCreator software

Last seen on 17:12, 27. Sep 2020
Joined Mar 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Can I make it so that when I right click a block with a determined item in your hand something happens?
Mon, 09/21/2020 - 19:28

 Hi, I am making a new tree and wood and I want to make the stripped log. Can I make it so that when I right click the log with an axe in my hand it strips? Thank you

Last seen on 21:45, 26. Oct 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just use the global trigger …
Mon, 09/21/2020 - 23:33

Just use the global trigger "player right clicks block" and then check for the item in player's main hand.

Last seen on 10:43, 27. Oct 2020
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You could also use the…
Tue, 10/20/2020 - 11:38

You could also use the specific On block right-clicked trigger for your block.