Announcement: BlockModels will be ported to 1.18
A Kotlin DSL for creating block models in Minecraft Forge mods.
For documentation and usage instructions, please take a look at the wiki.
Here's
the maven-metadata.xml
of this library.
Don't forget to replace the VERSION key with the version in the top with the Maven Central badge at the top!
repositories {
mavenCentral()
}
dependencies {
def blockModels = fg.deobf(project.dependencies.create(group: "com.theonlytails", name: "blockmodels", version: VERSION) {
transitive = false
})
implementation fg.deobf(blockModels)
}
repositories {
mavenCentral()
}
dependencies {
val blockModels = project.dependencies.create(group = "com.theonlytails", name = "blockmodels", version = VERSION)
.apply { isTransitive = false }
implementation(fg.deobf(blockModels))
}
The isTransitive
property is added to make sure the library is imported correctly.
Want to generate loot tables with a DSL like this? Check out LootGoblin!