https://github.com/theonlytails/craftingrecipes
A Kotlin DSL for creating crafting recipes in Minecraft Forge mods.
https://github.com/theonlytails/craftingrecipes
crafting-recipes kotlin-dsl minecraft minecraft-forge
Last synced: about 2 months ago
JSON representation
A Kotlin DSL for creating crafting recipes in Minecraft Forge mods.
- Host: GitHub
- URL: https://github.com/theonlytails/craftingrecipes
- Owner: TheOnlyTails
- License: mit
- Created: 2021-07-26T22:19:19.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-25T14:55:09.000Z (over 4 years ago)
- Last Synced: 2025-04-08T03:35:14.488Z (about 1 year ago)
- Topics: crafting-recipes, kotlin-dsl, minecraft, minecraft-forge
- Language: Kotlin
- Homepage: https://craftingrecipes.theonlytails.com/
- Size: 365 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://search.maven.org/artifact/com.theonlytails/craftingrecipes)




# CraftingRecipes
A Kotlin DSL for creating crafting recipes in Minecraft Forge mods.
For documentation and usage instructions, please take a look at
the [wiki](https://github.com/TheOnlyTails/CraftingRecipes/wiki).
KDocs for the library (generated with [Dokka](https://github.com/kotlin/dokka)): https://craftingrecipes.theonlytails.com/
Here's
the [`maven-metadata.xml`](https://s01.oss.sonatype.org/service/local/repositories/releases/content/com/theonlytails/craftingrecipes/maven-metadata.xml)
of this library.
## Installation
_Don't forget to replace the VERSION key with the version in the top with the Maven Central badge at the top!_
#### Gradle/Groovy
```groovy
repositories {
mavenCentral()
}
dependencies {
def craftingRecipes = fg.deobf(project.dependencies.create(group: "com.theonlytails", name: "craftingrecipes", version: VERSION) {
transitive = false
})
implementation fg.deobf(craftingRecipes)
}
```
#### Gradle/Kotlin
```kotlin
repositories {
mavenCentral()
}
dependencies {
val craftingRecipes = project.dependencies.create(group = "com.theonlytails", name = "craftingrecipes", version = VERSION)
.apply { isTransitive = false }
implementation(project.the().deobf(craftingRecipes))
}
```
The `isTransitive` property is added to make sure the library is imported correctly.
---
Check out other DSLs in the DataGoblin family!
- [Loot](https://github.com/theonlytails/lootgoblin)
- [BlockModels](https://github.com/theonlytails/BlockModels)