mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
Update README.md
- Add info on remapRefMap - Add info on how to find newer Flywheel versions
This commit is contained in:
parent
04733e3d2d
commit
5da6a56be5
18
README.md
18
README.md
@ -35,7 +35,7 @@ breaking changes, and I make no guarantees of backwards compatibility.
|
||||
|
||||
### Getting Started (For Developers)
|
||||
|
||||
Add the following repo to your `build.gradle`:
|
||||
Add the following repo and dependency to your `build.gradle`:
|
||||
|
||||
```groovy
|
||||
repositories {
|
||||
@ -44,12 +44,18 @@ repositories {
|
||||
url "https://maven.tterrag.com/"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Then add Flywheel as a dependency:
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation fg.deobf("com.jozufozu.flywheel:Flywheel:1.16-0.0.2.9")
|
||||
implementation fg.deobf("com.jozufozu.flywheel:Flywheel:${flywheel_version}")
|
||||
}
|
||||
```
|
||||
`${flywheel_version}` gets replaced by the version of Flywheel you want to use, eg. `0.0.3.18`
|
||||
|
||||
For a list of available Flywheel versions, you can check [the maven](https://maven.tterrag.com/com/jozufozu/flywheel/Flywheel/).
|
||||
|
||||
If you aren't using mixed mappings (or just want to be safe), add the following properties to your run configurations:
|
||||
```groovy
|
||||
property 'mixin.env.remapRefMap', 'true'
|
||||
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
|
||||
```
|
||||
This ensures that Flywheel's mixins get properly loaded in your dev env.
|
||||
|
Loading…
Reference in New Issue
Block a user