Started by
gaha
on
Topic category: Help with Minecraft modding (Java Edition)
Hello everyone, I'm quite confused about how to create a boss that, upon spawning, stands still and does nothing, and uses a unique animation for that. It only attacks when attacked and stops standing still. It's similar to Ferrous Wroughtnaut in the Mowzie's Mob mod. Please help me.
Use a logic synced data:sleeping, set logic to true on spawn. Add a condition to all ai goals, return logic: NOT sleeping. On entity hurt, set sleeping to false. Then on tick you can set up a timer to set sleeping back to false if current health does change within a minute or so if you like