promotional bannermobile promotional banner

Shield API

Creating shields with custom models was never easier!

File Details

ShieldAPI-3.0.0+1.21.4.jar

  • R
  • Jan 4, 2025
  • 34.06 KB
  • 3.6K
  • 1.21.4
  • Fabric

File Name

ShieldAPI-3.0.0+1.21.4.jar

Supported Versions

  • 1.21.4

Curse Maven Snippet

Fabric

modImplementation "curse.maven:shield-api-1048720:6052222"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

3.0.0

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.