Started by
vlonabuser
on
Topic category: Help with Minecraft modding (Java Edition)
I made a computer that can play any record in the game and i have a mob that i want to vibe when i turn music on. I tried to do it that way: when computer plays music it changes its "music" logic nbt to true, i dont know how to optimise scanning blocks so i js made it so every tick my mob checks if block at x+/- random 1:6 y +/- random 1:6 has "music" logic nbt set to true, if it is, it changes his data logic "vibe" to true and it should play animation and override its motion vector to 0 cuz i dont know how to stop it from walking any other way. Somehow it crashes the game with "/ 0" java exception. Pls help