Skip to content

Commit

Permalink
feat: Support Minecraft 1.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
magicus committed Apr 26, 2024
1 parent 69d959e commit 17bd5f2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

env:
JAVA_VERSION: 17
JAVA_VERSION: 21

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- '*'

env:
JAVA_VERSION: 17
JAVA_VERSION: 21
MODRINTH_ID: 'T9FDHbY5'
CURSEFORGE_ID: '484738'

Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ mod_version=1.2.0

# Minecraft/Java version
# Also hardcoded in fabric.mod.json and *.mixin.json
minecraft_version=1.20
java_version=17
minecraft_version=1.20.5
java_version=21

# Fabric versions -- check these on https://fabricmc.net/develop
# Also hardcoded in fabric.mod.json
yarn_mappings=1.20+build.1
loader_version=0.15.6
yarn_mappings=1.20.5+build.1
loader_version=0.15.10
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public abstract class StatusEffectTimerMixin {

@Inject(method = "renderStatusEffectOverlay",
at = @At(value = "INVOKE", target = "Ljava/util/List;add(Ljava/lang/Object;)Z", shift = At.Shift.AFTER))
private void appendOverlayDrawing(DrawContext context, CallbackInfo c,
private void appendOverlayDrawing(DrawContext context, float tickDelta, CallbackInfo c,
@Local List<Runnable> list, @Local StatusEffectInstance statusEffectInstance,
@Local(ordinal = 4) int x, @Local(ordinal = 3) int y) {
list.add(() -> {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],

"depends": {
"minecraft": "~1.20",
"minecraft": "~1.20.5",
"fabricloader": ">=0.15.6"
}
}

0 comments on commit 17bd5f2

Please sign in to comment.