-
Notifications
You must be signed in to change notification settings - Fork 1
Home
TheOnlyTails edited this page Jun 8, 2021
·
12 revisions
LootTables is a Kotlin wrapper and DSL for the loot table creation system in Minecraft, using the Minecraft Forge mod loader.
It's simple! LootTables is stored here, on GitHub, and you can access it in your projects using JitPack, like this:
repositories {
mavenCentral()
}
dependencies {
def lootTables = fg.deobf(project.dependencies.create(group: "com.theonlytails", name: "loottables", version: VERSION) {
transitive = false
})
implementation fg.deobf(lootTables)
}
repositories {
mavenCentral()
}
dependencies {
val lootTables = project.dependencies.create(group = "com.theonlytails", name = "loottables", version = VERSION)
.apply { isTransitive = false }
implementation(project.the<DependencyManagementExtension>().deobf(lootTables))
}
The isTransitive
property is added to make sure the library is imported correctly.
Before contributing, please read the contribution guidelines carefully, and follow the steps in them one-by-one. (Note: A full list of the triage team members can be found here)