Skip to content

General Usage

amusingimpala75 edited this page Mar 7, 2021 · 4 revisions

Set up:

For end users:

Put the mod in the mods folder along with the dependencies, at the current time being only the Fabric API. You are now ready to run it.

For modders:

Add Jitpack to your dependencies, and use modImplementation "com.github.AmusingImpala75:DataDriver:<version>" (or modApi).

Usage:

For end users and modders:

Now you can create datapacks/include data in your mod, with custom data to generate certain things that would otherwise require a mod. See Codecs for a list of codecs and their usage.

For modders:

Custom codecs can be registered by registering them to the proper registry in the Registries class in the api package. To help, a BlockSettings and ItemSettings codec is provided for custom block/item codec usage.

Clone this wiki locally