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 18:08, 13. Sep 2021
Joined Mar 2018
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:17, 16. Sep 2021
Joined Jun 2015
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 21:29, 1. Jul 2021
Joined Aug 2020
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.

Last seen on 20:31, 7. Jun 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hello o/ I have read the…
Sun, 05/09/2021 - 10:45

Hello o/
I have read the topic and the trigger you said to use turns every block I right click with an axe into the stripped wood. Can I have some help? :/

Last seen on 21:29, 1. Jul 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You should also check that…
Mon, 05/10/2021 - 10:40

You should also check that the block is actually the log block if you're using the global On block right-clicked trigger. You can do that with the red equals sign and the empty red-framed block from the Minecraft Components tab.