Library for easily adding new shields, shield enchantments, and enabling you to enchant shields in general without worry of conflictions.
library is distributed via jitpack.io
fabric_shield_lib_version=1.7.2-1.20.6
maven { url = 'https://jitpack.io' }
if this mod is your only dependency it should look something like this.
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
//Fabric Shield Lib
modImplementation "com.github.CrimsonDawn45:Fabric-Shield-Lib:v${project.fabric_shield_lib_version}"
}
modImplementation "com.github.CrimsonDawn45:Fabric-Shield-Lib:v${project.fabric_shield_lib_version}"
Tutorial available on Fabric Wiki.
The example mod repo is a template repo you can use to quickly get started if your making a new mod. Although it isn't updated as frequently.