Started by
OrangeAedan
on
Topic category: Troubleshooting, bugs, and solutions
Here is an image of my code. What should happen is remove the log if it is an oak log because a block is broken should trigger before the item drops. Then it should spawn that item. Then it should place a stripped oak log and rotate it to the same state as the old oak log.
What it actually does is just spawning the item. It drops the oak log. And it doesn't place the stripped oak log.
Maybe I'm just missing something. But this seems to be a bug. The stripped oak log does spawn when I run the script 1 tick later.
The picture is hard to see with the current resolution.
Keep in mind the trigger happens while block is being broken so even if new block is placed in its place, breaking may still happen. Possibly you would need to cancel the procedure
It starts with the remove block a x y z. This should cancel the block from dropping. When the player preforms the action of breaking a block, this trigger is called first and then the item is dropped. And if this script runs after the block is broken and an item is dropped (which would not be logical), the stripped oak log should be placed. But this is not happening either.