Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 1 month 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-25T14:55:09.000Z (about 3 years ago)
- Last Synced: 2024-11-04T01:42:08.703Z (3 months 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
[![Maven metadata URL](https://img.shields.io/maven-metadata/v?color=blue&label=maven%20central&logo=gradle&metadataUrl=https%3A%2F%2Fs01.oss.sonatype.org%2Fservice%2Flocal%2Frepositories%2Freleases%2Fcontent%2Fcom%2Ftheonlytails%2Fcraftingrecipes%2Fmaven-metadata.xml&style=for-the-badge)](https://search.maven.org/artifact/com.theonlytails/craftingrecipes)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/TheOnlyTails/craftingrecipes/Java%20CI%20with%20Gradle?label=gradle%20build&logo=github&style=for-the-badge)
![Kotlin](https://img.shields.io/badge/kotlin-%236C3FD1.svg?style=for-the-badge&logo=kotlin&logoColor=white)
![Gradle](https://img.shields.io/badge/gradle-%2302303A.svg?style=for-the-badge&logo=gradle&logoColor=white)
![GitHub License](https://img.shields.io/github/license/theonlytails/craftingrecipes?style=for-the-badge&logo=key)# 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)