Rightclick on Block problem

Started by Aero193 on

Topic category: Help with MCreator software

Last seen on 01:30, 27. Apr 2024
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Rightclick on Block problem

So, I am currently trying to make a new wood type.
and because it is in the wood family, the player should also be able to create a stripped variant of the block by rightclicking it with an axe.
But my procedure only kinda works... the stripping works if I hold an axe in my main hand but I need to shift + rightclick to place another block on the top/side/bottum of said woodblock. If I don't shift while placing, the block won't get placed...

Imagine trying to place a block on a workbench without shifting. You don't place the block, instead the GUI pops up. Its like that but without the GUI part.

The procedure is:

 On block right clicked ---> if   [item in main-hand of Event/target entity] = [wooden axe] or [stone axe] or ...etc.
                                               do [deal 1 damage to item in main_hand of Event/target entity]
                                 second do [Replace block at X Y Z with stripped variant, keep state]

Last seen on 01:30, 27. Apr 2024
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know this problem wouldn't…
Fri, 03/01/2024 - 01:33

I know this problem wouldn't be there if I made a new Item for stripping wood and just put a procedure inside of that item.
but I don't want to make a new Item for stripping wood XD