Started by
dabbeddabdabb
on
Topic category: Help with Minecraft modding (Java Edition)
i'm creating a boss for a personal mod of mine that is invincible to all attacks, and only takes damage when the minions it spawns die. i've tried using NBT Tags to make this work however it doesn't seem to have done anything at all, also tried global variables but, same result. here is what i have going on code-wise:
the 1st procedure is hooked up to execute on the main boss' entity tick update, and the 2nd is hooked up to execute when the minions die. not super sure how NBT tags work or anhything like that, so any help or advice is appreciated
Use it along with inside the AI Tab of your custom Boss as Conditions.
i'm not sure i understand, sorry. where should i put it exactly?
When the minion dies, it only change the NBT of that minion but not the boss; that's why it didn't work.