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

Topic category: Help with MCreator software

Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can I make it so that when I right click a block with a determined item in your hand something happens?

 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

Joined Jun 2015
Points:

User statistics:

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

Joined Aug 2020
Points:

User statistics:

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

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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? :/

Joined Aug 2020
Points:

User statistics:

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