1.X.X - GeheimagentNr1/MoreMobGriefingOptions GitHub Wiki

More MobGriefing Options adds, that you can change MobGriefing per entity.
The Mod is only needed on the server side, but can also be used on the client side.

Common Config

The config file can be found in the config folder and is named "moremobgriefingoptions.toml".
For every available entity there is one option in the config.
Available for entities:

  • blaze
  • cow
  • creeper
  • ender_dragon
  • enderman
  • evoker
  • fox
  • ghast
  • horse
  • husk
  • pig
  • piglin (since 1.16.1)
  • piglin_brute (since 1.16.2)
  • ravager
  • rabbit
  • sheep
  • silverfish
  • snow_golem
  • strider (since 1.16.1)
  • villager
  • wither
  • zombie

For each entity you have the options "true", "false" and "default".

  • true: MobGriefing is allowed for the entity
  • false: MobGriefing is disabled for the entity 
  • default: The Minecraft vanilla MobGriefing gamerule is used to allow or disable MobGriefing for the entity

Commands

  • /mobgriefing <entity_name>
    Shows on what the MobGriefing option of the entered entity
    entity_name: Name of the entity from list of available entities

  • /mobgriefing <entity_name> <true|false|default>
    Sets the MobGriefing option for the entered entity
    entity_name: Name of the entity from list of available entities
    true|false|default: Allow/Disable MobGriefing or let use the Minecraft vanilla MobGriefing gamerule

Thanks for the logo to Muse31.
You can use this mod in non-commercial modpacks without asking.
You can find more mods from me here.