Skip to content

Library for easily adding new shields, shield enchantments, and enabling you to enchant shields in general without worry of conflictions.

License

Notifications You must be signed in to change notification settings

StellarWind22/Fabric-Shield-Lib

Repository files navigation

Fabric Shield Lib

Library for easily adding new shields, shield enchantments, and enabling you to enchant shields in general without worry of conflictions.

Importing

library is distributed via jitpack.io

put this in gradle.properties

fabric_shield_lib_version=1.7.2-1.21.1

build.gradle under repositories just above dependencies

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}"
}

build.gradle under dependencies

modImplementation "com.github.CrimsonDawn45:Fabric-Shield-Lib:v${project.fabric_shield_lib_version}"

Documentation?

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.