Shield API
Shield API allows mod authors to easily add shields with custom models.
Read the Readme for information about how to use this API.
How to Install Shield API (Mod)
Shield API by TheRedBrain is verified for Fabric, Forge, Neoforge across Minecraft versions 1.20.1, 1.21, 1.21.1, 1.21.4 (latest release: 2.2.0+1.20.1-forge, file size: 39 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21, 1.21.1, 1.21.4) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded Shield API file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- added compatibility for EMI repair recipes
- added compatibility for EMI repair recipes
- added compatibility for EMI repair recipes
- added compatibility for EMI repair recipes
- migrated to Architectury
- migrated to Architectury
1.21.2 and 1.21.4 made massive changes to items, including shields. This means that Shield API is nearly obsolete, how exciting!
But we are not there quite yet, as Minecraft still checks specifically for the "minecraft:shield" item in some places.
Custom shields are now created using 100% vanilla tech, see the test mod for an example.
Note: Shields now directly use the 'attribute modifier component'. This means that they can be changed for individual item stacks. Changing the default is more involved, however. There are already other mods out there doing exactly that, which is why I choose to remove the feature from Shield API.
- lowered Fabric Loader requirements
- now compatible with 1.21
- updated to 1.21.1
- fixed an issue were custom shields would not take damage when blocking an attack
Initial release.
#