Skip to content

Repository files navigation

Shield Lib Banner


Shield Lib is a library that makes it easy to add custom shields with banner support, enchantments, custom shapes, & custom effects across Fabric & Neoforge without conflicts!

We also provide event hooks & modifier registries for shields and shield enchantments for creating custom effects with them by modifying blocking, disabling, movement, or cooldown.

Enchanting:

Vanilla shield being enchanted

Custom Shapes:

Custom square shaped shield model in Blockbench, then in-game with globe banner pattern on it

Tooltips:

Vanilla shield with a new tooltip saying that when it's hit by an axe it will have 5 seconds of cooldown

Pages:


Importing

put this in gradle.properties

shieldlib_version=2.0.0-1.21.8

build.gradle in repositories just above dependencies

maven {url = "https://api.modrinth.com/maven"}

build.gradle in dependencies

dependencies {
	//Other stuff here
        
    //Shield Lib(replace [LOADER] with fabric OR neoforge)
	modImplementation "maven.modrinth:shieldlib:${project.shieldlib_version}-[LOADER]"
}

Documentation?

Architectury Fabric Neoforge

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.

About

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

Topics

Resources

Stars

44 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages