Started by
Gamemaster2022
on
Topic category: Help with Minecraft modding (Java Edition)
Hello. I've got a question. In my mod I've made drill item that mines block on right click and also play sound. Everything works good. BUT. Blocks around mined block by this item won't update (that means grass will float, gravel/sand won't fall, etc.). I can't figure out how to fix it. So if you know solution, I would be happy to hear it. There is procedure that runs RightClickOnBlock: https://imgur.com/a/CcBW5Z3
Thanks for help
The update block ia on the block that you broke
So Its updating nothing you can change what block its gonna get updated like
Theres an xyz right so. X Y+4 Z this will make it so that 4 Blocks above the block you broke get updated
Hello. Thanks for reply but I am afraid it still don't work. Here is updated procedure: https://imgur.com/gSj48e9
Hey i didnt say that was the answer
You have to do it for all the sides so x+1 x-1 y+1 y-1 z+1 z-1 all those has to be on different procedures so all block around it Will get updated
I don't know if I understood correctly but I tried this: https://imgur.com/a/MHmgnQT
It has some effect but it apply after breaking another block
Hmm well i don't really know why that happens
But wait why not just make a pickaxe and when you break a block it makes the sound and activates the cooldown maybe using a global trigger
I don't want the pickaxe mining animation because my drill has its own 3D model. And mining animation with it looks... well quite weird. Maybe disabling this animation would do the trick but idk how would I be even able to do it
Maybe make it so fast that you cant see the animation
Hmm... Haste 255 makes mining animation completely disappear. I will try this. Anyway, thanks for help.