Started by
BryAstro
on
Topic category: Troubleshooting, bugs, and solutions
Version 2024.1 (1.20.1 Forge)
I really need help, whenever I make a mob that breaks blocks within a radius, some of the broken blocks have become buggy, as it looks like air, but I can't walk through the block, and when I right-click the air, it turns back into the block it originally was. I really need help to fix this, is there any way I can improve the procedure to make it not buggy.
This is the code I used for the mob to break blocks (It is an on entity tick update procedure)
This is what happens to some of the blocks.
late to ur post but once the block is broken, i think it suppose to be replaced with air. The replace prodcedure i think put it under remove block.
Could you please provide an example via a imgur link? I can't seem to get it to work.
I have run into this bug before and a solution is to put the part of your procedure into an if block, with the condition [not[is provided world client-side]]
That will ensure that it only runs on server side which is where the blocks are actually stored, rather than client side which just makes the blocks look destroyed. Also, a chance to blocks on server side will automatically synchronize with client side, so it will look destroyed and actually be destroyed.
TYSM!!! It works perfectly now! :)