Skip to content

Commit

Permalink
Support Minecraft 23w33a
Browse files Browse the repository at this point in the history
- Update Fabric Loom to 1.3
- Update Gradle to 8.3

Signed-off-by: Hendrix-Shen <[email protected]>
  • Loading branch information
Hendrix-Shen committed Aug 21, 2023
1 parent 55ed22b commit 0aa2c99
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.2-SNAPSHOT'
id 'fabric-loom' version '1.3-SNAPSHOT'
}

sourceCompatibility = JavaVersion.VERSION_17
Expand Down
14 changes: 7 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ author = masa
mod_file_name = itemscroller-fabric

# Current mod version
mod_version = 0.20.0
mod_version = 0.20.0-nyan.1

# Required malilib version
malilib_version = 0.16.0
malilib_version = 0.16.1-nyan.1

# Minecraft, Fabric and mappings versions
minecraft_version_out = 1.20.1
minecraft_version = 1.20.1
mappings_version = 1.20.1+build.2
minecraft_version_out = 23w33a
minecraft_version = 23w33a
mappings_version = 23w33a+build.3

fabric_loader_version = 0.14.21
mod_menu_version = 7.0.1
fabric_loader_version = 0.14.22
mod_menu_version = 7.2.1
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private void initTradeListWidget(CallbackInfo ci)
}

@Inject(method = "mouseScrolled", at = @At("RETURN"))
private void onMouseScrollPost(double mouseX, double mouseY, double amount, CallbackInfoReturnable<Boolean> cir)
private void onMouseScrollPost(double mouseX, double mouseY, double horizontalAmount, double verticalAmount, CallbackInfoReturnable<Boolean> cir)
{
if (Configs.Toggles.VILLAGER_TRADE_FEATURES.getBooleanValue() &&
Configs.Generic.VILLAGER_TRADE_LIST_REMEMBER_SCROLL.getBooleanValue() &&
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
],

"depends": {
"minecraft": "1.20.x",
"malilib": "0.16.x"
"minecraft": ">=1.20.2-alpha.23.33.a",
"malilib": ">=0.16.1-nyan.1"
}
}

0 comments on commit 0aa2c99

Please sign in to comment.