Epic Fight - Indestructible
Attention: Modern versions of EFM (16.6.5, 18.3.8 and newer) already support this mod's functionality, so older versions are no longer updated.
Important: Simply installing the mod is not enough. To make it work, you need to create a custom entity datapack.
Setup Guide (1.18/1.19/1.20)
For current versions (18.5.3+/20.6.1+/19.xxx.xxx+) the datapack path has changed: Example: custom_name:data/"modid"/advanced_mobpatch/"entityname".json It is recommended to use the mod only for bosses
Main Features
1. Enhanced behavioral settings for custom entities: defense, wandering, and customizable behavior animations 2. Additional attributes: stamina system, stun shield mechanism, and stun system 3. Advanced behavior detection systems
Available Guard Animations
- Longsword: "indestructible:guard/guard_longsword"
- Sword: "indestructible:guard/guard_sword"
- Greatsword: "indestructible:guard/guard_greatsword"
- Katana: "indestructible:guard/guard_katana"
- Spear: "indestructible:guard/guard_spear"
- Dual wield swords: "indestructible:guard/guard_dualsword"
- Yamato: "indestructible:guard/guard_yamato" // with yamatomoveset installed
New Behavior Predicates
-
"guard_break": // {"predicate":"guard_break", "invert": false} Checks if target's guard is broken. Setting "invert" to true means animation will only play when guard is not broken
-
"knock_down": // {"predicate":"knock_down", "invert": false} Checks if target is knocked down. Setting "invert" to true means animation will only play when target is not knocked down
-
"attack_level": // {"predicate":"attack_level", "min": 1, "max": 1} Determines target's attack phase: free : 0, preparation : 1, contact : 2, recovery : 3. Example above means preparation stage
-
"stamina": // {"predicate": "stamina", "stamina": 30, "comparator": "greater_ratio"} Similar to health predicate, checks mob's stamina
-
"using_item": // {"predicate":"using_item", "edible": true} Checks if target is using an item. Setting "edible" to true limits check to food and potions
-
"phase": // {"predicate":"phase", "min": 1, "max": 1} Checks custom phase set by behavior motion

Credits:
praise_suffering (for the idea)