Gamerule "doMobAttack"
Massive mod called "Better Enchantments" coming soon...
This mod introduces a new game rule "doMobAttack" that allows you to control mob aggression towards players. With it, you can disable monsters' ability to attack characters and remove damage received from them.
Command syntax: gamerule doMobAttack true/false
Excellent tool for creating peaceful survival modes or teaching beginners!
Benefits
- Protect yourself from hostile mobs
- Perfect for building projects
- Great for new players