Procedure Issue/Bug

Published by KreatorB on Sun, 10/14/2018 - 15:02
Upvotes: 0
Issue description

I have attached a procedure to my block and when you right click it with an axe/item it strips the bark off. However, I have noticed that when trying to place blocks on or around the the block with procedures I need to sneak (Shift click) if I want to place any block on them. However when the block is stripped it acts as a normal and anything can be placed on it.





Issue comments

1. Your procedure is way Over Engineered you don't need any of this "update/notify block" and that last else is pointless 
all you need is to check If Player holds Any Axe  and if it does than Do Place Block at X,Y,Z 
Also because of that Last Else your procedure read's it like that "OK he does not hold axe but something different so I need to Update this block"
2. On the other side from what I know is that "Item in entity's main hand" block us buggy and it does not check for hand but for whole inventory 

Submitted by KreatorB on Sun, 10/14/2018 - 22:23

I have changed it it now, it points to one item but still follows the same pattern.
I did this way cause I could not figure another procedure to do it.

SUGGESTIONS would be great rather then pointing out the obvious, thanks!

I also want to know how to make it apply damage to the item as it is does the right click?

About adding damage to your tool simply in procedures/item modifications and block named: Deal the provide item damage of amount "your damage" add this to every else you have

This is normal behavior. When you add on right clicked trigger, there needs to be a difference between a right click and placing a block. All Minecraft blocks with right click event behave this way.

Submitted by KreatorB on Mon, 10/15/2018 - 17:35

if you would like a copy of the MCR file to try yourself I can send iot... ;-)


Submitted by KreatorB on Mon, 10/15/2018 - 18:18

you refer to Block Named: to deal damage to but I find nothing of that sort to place a name into