generated from neoforged/MDK
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ferriarnus edited this page May 6, 2024
·
5 revisions
A lightweight library to help with registration and data generation in Minecraft.
This library provides helper functions and wrappers around for various Holders and registries. To be able to use Regilite, you firstly create and register a Regilite-object. This object will do the actual registring data to events and doing DataGen.
A full list of Holder objects Regilite supports can be found here. You can see not every Holder has a Regilite alternative, and this is intentional. We've only provided our wrappers when the Holder could benefit from it in our eyes.
Add the repository from the maven (or maven local) to the buil script.
repositories {
...
maven { url "https://maven.rover656.dev/releases" }
...
}
After that, add Regilite to the dependencies.
dependencies {
...
implementation("com.enderio:Regilite:${regilite_version}")
...
}
We also recommend you include Regilite into you project using JIJ.