Help make procedure more especific

Started by Turko on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help make procedure more especific
Wed, 01/25/2023 - 21:06 (edited)

I´m new to Mc Creator and just yesterday made mi first tree. Also made a stripping procedure for the logs but while testing it today i realized that if I have a block in main hand and axe type in off hand it makes both actions simultaneously. Is it posible to make a trigger have different priorities?
Ej: Axe in off hand < Dirt Block in Main (Try to place Dirt, if it can´t try to strip the target block)

My procedure:

 
Edited by Turko on Wed, 01/25/2023 - 21:06
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That I am aware of there is…
Sat, 01/28/2023 - 23:29

That I am aware of there is no 'priority', but this will allow the strip procedure to activate if the off-hand is empty.
Might be the best alternative until someone else comes by with a better solution.

Also a note, the vanilla logs don't strip if the axe is in the off-hand.

https://i.imgur.com/YHEINll.png

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also a note, the vanilla…
Sun, 01/29/2023 - 21:28

Also a note, the vanilla logs don't strip if the axe is in the off-hand.

Really? I always thought u could strip a log with the axe in the off hand, thats way i didn´t do the off hand empty (and also because i was lazy) Let me go check this right know

 

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So apparently the axe DOES…
Sun, 01/29/2023 - 21:36

So apparently the axe DOES STRIP in the off hand but only if u re holding anything but a block in the main hand. I tested with tools, food, books but only cancels the strip event if the player is holding a placeable item in the main hand.