This simple plugin prevents dogs/wolves from targeting and attacking players or mobs. You can change what mobs dogs are allowed to attack with the plugin's config file.
This plugin has only been tested in 1.21 but it should work for 1.13+. If an older version is not working or you have other issues feel free to add me on Discord @GrogyGames and I can help.
Code (Text):
# Dogs will not attack players if this is false
attack-players: false
# Dogs will not attack passive mobs if this is false
attack-passive: false
# Dogs will not attack hostile mobs if this is false
attack-hostile: true
# Blacklist dogs from attacking a specific mob, format like the example below:
#attack-blacklist:
# - SHEEP
# - ZOMBIE_VILLAGER
# - ANOTHER_MOB
attack-blacklist:
attack-players: false
# Dogs will not attack passive mobs if this is false
attack-passive: false
# Dogs will not attack hostile mobs if this is false
attack-hostile: true
# Blacklist dogs from attacking a specific mob, format like the example below:
#attack-blacklist:
# - SHEEP
# - ZOMBIE_VILLAGER
# - ANOTHER_MOB
attack-blacklist:
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Friendly Doggos is a free Minecraft Java mod. Downloaded 99 times (via Spigot). Download it and open it directly in the game.