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

Active 3 years ago
Joined Mar 2018
Points:
798

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 15
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

Active 10 months ago
Joined Jun 2015
Points:
1275

User statistics:

  • Modifications: 10
  • Forum topics: 32
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 544
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.

Active 2 years ago
Joined Aug 2020
Points:
697

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 112
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.

Active 3 years ago
Joined Mar 2021
Points:
550

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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? :/

Active 2 years ago
Joined Aug 2020
Points:
697

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 112
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.