https://github.com/sumol26/shieldcooldown-with-mcmodels
A 1.20+ spigot plugin to manage shield cooldowns when hit with custom mcmodels ID (Required for now)
https://github.com/sumol26/shieldcooldown-with-mcmodels
beginner custom-data-models java mcmodels minecraft minecraft-plugin minecraftshields spigot
Last synced: about 1 month ago
JSON representation
A 1.20+ spigot plugin to manage shield cooldowns when hit with custom mcmodels ID (Required for now)
- Host: GitHub
- URL: https://github.com/sumol26/shieldcooldown-with-mcmodels
- Owner: SuMol26
- Created: 2025-08-05T11:31:11.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-05T12:41:45.000Z (11 months ago)
- Last Synced: 2025-08-05T14:21:54.771Z (11 months ago)
- Topics: beginner, custom-data-models, java, mcmodels, minecraft, minecraft-plugin, minecraftshields, spigot
- Language: Java
- Homepage:
- Size: 138 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shield Cooldown Plugin
A simple Minecraft plugin that allows custom cooldowns for shields using `CustomModelData`.
## 🔧 Features
- Assign custom cooldown durations (in seconds) to shields.
- Support for shields using `CustomModelData` (e.g., from resource packs like McModels).
- Three commands to manage cooldowns:
- `/shield_set_cd ` – Set cooldown for a specific CustomModelData or the shield in your main hand.
- `/shield_see_cd ` – View the cooldown set for a specific CustomModelData or held shield.
- `/shield_id` – Shows the creator of the plugin (ignore)
## 🧱 How it works
- When a shield blocks damage, a cooldown is applied based on its `CustomModelData`.
- If no cooldown was set for the ID, a default of 5 seconds is applied.
- Uses Minecraft's built-in cooldown system and replaces the shield temporarily to simulate unequip.
## 📦 Requirements
- Minecraft 1.16+ (uses `CustomModelData`)
- A compatible resource pack for custom shield models (e.g., McModels)
## 💡 Example
- /shield_set_cd inhand 3 or /shield_set_cd 1234
- /shield_see_cd inhand or /shield_see_cd 1234
## 🚩 Suggestions
Feel free to make any suggestion and report thing you would like me to change/upgrade.