Skip to content

Mine-and-blade-admin/TestMod

Repository files navigation

TestMod

Dummy Addon Example for Battlegear2

This is the core of what is "necessary" for an addon of https://github.com/Mine-and-blade-admin/Battlegear2, in short steps:

-Add compiled jar into your mod gradle setup (preferably in eclipse.mods folder, so it can run in debug)

-Add it as library and use them in your mod sources

-Use FML @Optional(modid="battlegear2" so the interfaces/methods can be stripped out when the mod isn't loaded, or use hard dependency and take special care about mod load order

-Put the jar dependency in build.gradle so it can be built by Gradle

About

Dummy Addon Example for Battlegear2

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors