Started by
Turko
on
Topic category: Help with Minecraft modding (Java Edition)
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
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.
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
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.