Skip to content

Commit

Permalink
Update to Minecraft 1.19.3
Browse files Browse the repository at this point in the history
Fixes #96
  • Loading branch information
YaLTeR committed Dec 21, 2022
1 parent 2fe9b08 commit 045d885
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions build-fabric.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id 'fabric-loom' version '0.12-SNAPSHOT'
id 'fabric-loom' version '1.0-SNAPSHOT'
}

def minecraftVersion = "1.19" // Used for output JAR filenames.
def minecraftVersion = "1.19.3" // Used for output JAR filenames.

version = project.mod_version
group = "yalter.mousetweaks"
Expand Down Expand Up @@ -35,10 +35,10 @@ loom {
dependencies {
minecraft "com.mojang:minecraft:${minecraftVersion}"
mappings loom.officialMojangMappings()
modImplementation "net.fabricmc:fabric-loader:0.14.6"
modImplementation "net.fabricmc.fabric-api:fabric-api:0.55.1+1.19"
modImplementation "net.fabricmc:fabric-loader:0.14.11"
modImplementation "net.fabricmc.fabric-api:fabric-api:0.68.1+1.19.3"

modImplementation 'com.terraformersmc:modmenu:4.0.0'
modImplementation 'com.terraformersmc:modmenu:5.0.2'
}

processResources {
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.spongepowered.mixin'

def minecraftVersion = "1.19" // Used for output JAR filenames.
def minecraftVersion = "1.19.3" // Used for output JAR filenames.

version = project.mod_version
group = "yalter.mousetweaks"
Expand All @@ -38,7 +38,7 @@ mixin {
}

minecraft {
mappings channel: 'official', version: '1.19'
mappings channel: 'official', version: '1.19.3'

runs {
client {
Expand Down Expand Up @@ -70,7 +70,7 @@ minecraft {
}

dependencies {
minecraft 'net.minecraftforge:forge:1.19-41.0.94'
minecraft 'net.minecraftforge:forge:1.19.3-44.0.37'
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
}

Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G
org.gradle.parallel=true
org.gradle.daemon=false
mod_version=2.23
mod_version=2.24
5 changes: 2 additions & 3 deletions src/main/java/yalter/mousetweaks/ConfigScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ protected void init() {
.create(this.width / 2 - 155, this.height / 6 + 24 * 5, 310, 20,
Component.literal("Debug Mode"), (button, value) -> Config.debug = value));

this.addRenderableWidget(new Button(
this.width / 2 - 100, this.height - 27, 200, 20,
CommonComponents.GUI_DONE, button -> this.onClose()));
this.addRenderableWidget(Button.builder(CommonComponents.GUI_DONE, button -> this.onClose())
.bounds(this.width / 2 - 100, this.height - 27, 200, 20).build());
}

@Override
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 @@ -34,9 +34,9 @@
"mousetweaks-fabric.mixins.json"
],
"depends": {
"fabricloader": ">=0.14.6",
"fabricloader": ">=0.14.11",
"fabric": "*",
"minecraft": "~1.19",
"minecraft": "~1.19.3",
"java": ">=17"
},
"suggests": {}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"pack": {
"description": "Mouse Tweaks Resources",
"pack_format": 9,
"forge:resource_pack_format": 9,
"pack_format": 12,
"forge:resource_pack_format": 12,
"forge:data_pack_format": 10
}
}

0 comments on commit 045d885

Please sign in to comment.