-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NeoForge and Fabric dependency info
- Loading branch information
Showing
3 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Installation | ||
|
||
Cloud for Fabric is available through [Maven Central](https://central.sonatype.com/artifact/cloud.commandframework/cloud-fabric). | ||
|
||
=== "Gradle (Kotlin)" | ||
|
||
```kotlin | ||
val cloudFabric = "cloud.commandframework:cloud-fabric:VERSION" | ||
modImplementation(cloudFabric) | ||
include(cloudFabric) | ||
``` | ||
|
||
=== "Gradle (Groovy)" | ||
|
||
```groovy | ||
def cloudFabric = 'cloud.commandframework:cloud-fabric:VERSION' | ||
modImplementation(cloudFabric) | ||
include(cloudFabric) | ||
``` | ||
|
||
### Versions | ||
|
||
See [here](./index.md#compatibility) for Minecraft version compatibility. | ||
|
||
### `fabric.mod.json` | ||
|
||
Merge the following into your `fabric.mod.json`: | ||
|
||
```json | ||
{ | ||
"depends": { | ||
"cloud": "*" | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
## Installation | ||
|
||
Cloud for NeoForge is available through [Maven Central](https://central.sonatype.com/artifact/cloud.commandframework/cloud-neoforge). | ||
|
||
=== "Gradle (Kotlin, NeoGradle)" | ||
|
||
```kotlin | ||
jarJar.enable() | ||
|
||
dependencies { | ||
val cloudFabric = "cloud.commandframework:cloud-neoforge:VERSION" | ||
implementation(cloudFabric) | ||
jarJar(cloudFabric) | ||
} | ||
``` | ||
|
||
=== "Gradle (Groovy, NeoGradle)" | ||
|
||
```groovy | ||
jarJar.enable() | ||
|
||
dependencies { | ||
def cloudFabric = 'cloud.commandframework:cloud-neoforge:VERSION' | ||
implementation(cloudFabric) | ||
jarJar(cloudFabric) | ||
} | ||
``` | ||
|
||
=== "Gradle (Kotlin, Architectury Loom)" | ||
|
||
```kotlin | ||
val cloudFabric = "cloud.commandframework:cloud-neoforge:VERSION" | ||
modImplementation(cloudFabric) | ||
include(cloudFabric) | ||
``` | ||
|
||
=== "Gradle (Groovy, Architectury Loom)" | ||
|
||
```groovy | ||
def cloudFabric = 'cloud.commandframework:cloud-neoforge:VERSION' | ||
modImplementation(cloudFabric) | ||
include(cloudFabric) | ||
``` | ||
|
||
### Versions | ||
|
||
See [here](./index.md#compatibility) for Minecraft version compatibility. | ||
|
||
### `mods.toml` | ||
|
||
Add the following to your `mods.toml`: | ||
|
||
```toml | ||
[[dependencies.your_mod_id]] | ||
modId = "cloud" | ||
type = "required" | ||
versionRange = "[1.0,)" | ||
ordering = "NONE" | ||
side = "BOTH" | ||
``` |