Skip to content

Commit

Permalink
Merge branch '1.20.1/dev' into 1.21.1/dev
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
  • Loading branch information
Jozufozu committed Feb 2, 2025
2 parents 3be5df7 + 357c116 commit 1aa7174
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,27 @@ Add the following repo and dependency to your `build.gradle`:
```groovy
repositories {
maven {
name "tterrag maven"
url "https://maven.tterrag.com/"
name "createmod maven"
url "https://maven.createmod.net/"
}
}
dependencies {
compileOnly fg.deobf("dev.engine_room.flywheel:flywheel-neoforge-api-${minecraft_version}:${flywheel_version}")
runtimeOnly fg.deobf("dev.engine_room.flywheel:flywheel-neoforge-${minecraft_version}:${flywheel_version}")
// With MDG
compileOnly("dev.engine-room.flywheel:flywheel-neoforge-api-${minecraft_version}:${flywheel_version}")
runtimeOnly("dev.engine-room.flywheel:flywheel-neoforge-${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`

`${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.21.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:
```groovy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public static int mip0Size(int screenSize) {
public static int getImageMipLevels(int width, int height) {
int result = 1;

while (width > 2 && height > 2) {
while (width > 1 && height > 1) {
result++;
width >>= 1;
height >>= 1;
Expand Down

0 comments on commit 1aa7174

Please sign in to comment.