Does anyone read this?

- Update readme to point to createmod maven
- Add example loom dependency
This commit is contained in:
Jozufozu 2025-01-26 17:54:45 -08:00
parent 8d53f99956
commit ce111b1f5c

View file

@ -33,21 +33,27 @@ Add the following repo and dependency to your `build.gradle`:
```groovy ```groovy
repositories { repositories {
maven { maven {
name "tterrag maven" name "createmod maven"
url "https://maven.tterrag.com/" url "https://maven.createmod.net/"
} }
} }
dependencies { dependencies {
compileOnly fg.deobf("dev.engine_room.flywheel:flywheel-forge-api-${minecraft_version}:${flywheel_version}") // On forge
runtimeOnly fg.deobf("dev.engine_room.flywheel:flywheel-forge-${minecraft_version}:${flywheel_version}") compileOnly fg.deobf("dev.engine-room.flywheel:flywheel-forge-api-${minecraft_version}:${flywheel_version}")
runtimeOnly fg.deobf("dev.engine-room.flywheel:flywheel-forge-${minecraft_version}:${flywheel_version}")
// With loom
modApi "dev.engine-room.flywheel:flywheel-fabric-api-${minecraft_version}:${flywheel_version}"
modImplementation "dev.engine-room.flywheel:flywheel-fabric-${minecraft_version}:${flywheel_version}"
} }
``` ```
`${flywheel_version}` gets replaced by the version of Flywheel you want to use, eg. `1.0.0-beta` `${flywheel_version}` gets replaced by the version of Flywheel you want to use, eg. `1.0.0-beta`
`${minecraft_version}` gets replaced by the version of Minecraft you're on, eg. `1.20.1` `${minecraft_version}` gets replaced by the version of Minecraft you're on, eg. `1.20.1`
For a list of available Flywheel versions, you can check [the maven](https://maven.tterrag.com/com/jozufozu/flywheel/Flywheel-Forge/). For a list of available Flywheel versions, you can
check [the maven](https://maven.createmod.net/dev/engine-room/flywheel/).
If you aren't using mixed mappings (or just want to be safe), add the following properties to your run configurations: If you aren't using mixed mappings (or just want to be safe), add the following properties to your run configurations:
```groovy ```groovy