Defense
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
🖼️ Gallery (8 images)
🔍 Analysis
- 👍 1.3% endorsement rate — high engagement, a strong quality signal
- 🏆 #731 of 893 fabric mods in this game by downloads
📋 About This Mod
# Defense **A mod designed to protect players from unwanted PvP interactions while still allowing PvP on servers!** Originally created for and tested by the Empty World SMP ### SHOWCASE VIDEO: <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/mpuUZzXjm7I" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> ## Features - This mod adds a PvP toggle button in the survival player inventory. - When checked on, the player is now immune to all incoming PvP damage. Examples include direct attacks, projectiles, and lit TNT. This also disables the same outgoing attacks from the player. They cannot recieve damage from players or deal damage to players while toggled on. - When toggled on, Defense lasts for 20 minutes. One minute before the player's immunity runs out, they will be notified with a chat message prompting them to enable it again if they wish. The player may also enable or disable defense anytime they wish to reset the cooldown. - If a player's defense is toggled on, a shield icon will display next to their nametag. - You can change the icon you are displaying to others and that shows on your toggle switch in your Skin Customization Settings. - AFK system that will toggle on Defense after 1 minute to prevent players from attacking you. Use the afkTimerSeconds gamerule to change the time it takes to toggle AFK (set to 0 to disable this feature). Still very early, but improvements and changes will be made over time! ### Available Icons: <img src="https://cdn.modrinth.com/data/GF8BDuhv/images/882839e4bfedb7000970c419af2ccfa8ee5579ab.png" alt="Available Icons" width="615"/> _(These Icons are selectable via the Skin Customization Settings within Minecraft)_ More features are planned, and updates will add new functionality to the mod, along with quality of life changes to make it even better to use. ### Why the 20 Minute Timer? > The 20 minute timer for defense naturally encourages players to keep defense toggled off most of the time. This provides for the occasional funny interaction with another player, like an accidental punch, or for a challenge during a PvE battle to not hit your friends. It is meant to be used as a tool to defend against an unwanted interaction rather than something to give a competitive advantage. ### For more information on this mod, and access to the code, go to this mod's (https://github.com/Mortimer-Kerman/Defense) page!
# Defense A mod designed to protect players from unwanted PvP interactions while still allowing PvP on servers!
Originally created for and tested by the Empty World SMP
### SHOWCASE VIDEO:
## Features
- This mod adds a PvP toggle button in the survival player inventory.
- When checked on, the player is now immune to all incoming PvP damage. Examples include direct attacks, projectiles, and lit TNT.
This also disables the same outgoing attacks from the player. They cannot recieve damage from players or deal damage to players while toggled on.
- When toggled on, Defense lasts for 20 minutes. One minute before the player's immunity runs out, they will be notified with a chat message prompting them to enable it again if they wish. The player may also enable or disable defense anytime they wish to reset the cooldown.
- If a player's defense is toggled on, a shield icon will display next to their nametag.
- You can change the icon you are displaying to others and that shows on your toggle switch in your Skin Customization Settings.
- AFK system that will toggle on Defense after 1 minute to prevent players from attacking you. Use the afkTimerSeconds gamerule to change the time it takes to toggle AFK (set to 0 to disable this feature). Still very early, but improvements and changes will be made over time!
### Available Icons:

_(These Icons are selectable via the Skin Customization Settings within Minecraft)_
More features are planned, and updates will add new functionality to the mod, along with quality of life changes to make it even better to use.
### Why the 20 Minute Timer? > The 20 minute timer for defense naturally encourages players to keep defense toggled off most of the time. This provides for the occasional funny interaction with another player, like an accidental punch, or for a challenge during a PvE battle to not hit your friends. It is meant to be used as a tool to defend against an unwanted interaction rather than something to give a competitive advantage.
### For more information on this mod, and access to the code, go to this mod's (https://github.com/Mortimer-Kerman/Defense) page!
📊 Mod Details
- Game
- Minecraft Mods
- Author
- Knarfy
- Version
- 1.21.11-0.5.0
- Downloads
- 6,595
- Endorsements
- 89
- Category
- fabric
- Created
- 8/3/2024
- Updated
- 1/10/2026
- Game Versions
- 1.21.11
- Tags
- game-mechanics, social, utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does Defense support?
The author lists 1.21.11. Other versions may work but are untested by the author.
What is the latest version of Defense?
Version 1.21.11-0.5.0, published 2026-01-10 with 6,595 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await






