Mob Command - lochnessdragon/OctMod GitHub Wiki

The /mob command allows you to selectively allow or disallow mobs griefing or dealing damage.

Usage:

/mob <entity> <gamerule> [true/false]

Breakdown:

  • <entity> The entity you're affecting, must be a summonable entity.
  • <gamerule> Can be either canGrief or canDamage, self explanatory.
  • [true/false] Optional, used to set the specified gamerule.
⚠️ **GitHub.com Fallback** ⚠️