Started by
Legalo
on
Topic category: Help with Minecraft modding (Java Edition)
Hello I'm making a tameable mob and I want to make so that whenever the mob is targeting another mob it's texture changes to a red variation. I'm using geckolib for this and I came up with this procedure that I run every game tick.
https://files.catbox.moe/waphxe.png
However whenever I spawn the entity the game just freezes (No crash so no log). Anyone knows why or how to fix it?
I got it to not crash, however now it just flashes red for a frame whenever it gets a target instead of staying red until there's no target
https://files.catbox.moe/f1a454.png
Ended up just coding my own procedure. Mcreator really needs an "Is (entity) aggressive" block
https://files.catbox.moe/cqov01.png