Skip to content

Commit

Permalink
Update to 1.20.3 (Fabric Only)
Browse files Browse the repository at this point in the history
Waiting for Forge and NeoForge.
  • Loading branch information
LemonCaramel committed Dec 5, 2023
1 parent 954efe8 commit 38deb7e
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
}

architectury {
common("fabric", "forge", "neoforge")
common("fabric"/*, "forge", "neoforge"*/)
}

loom {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ private void onValueChange(final String text, final CallbackInfo ci) {
}

@Inject(
method = "deleteChars",
method = "deleteCharsToPos",
at = @At(
value = "INVOKE", shift = At.Shift.BEFORE,
target = "Lnet/minecraft/client/gui/components/EditBox;moveCursorTo(IZ)V"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public final class MixinSelectWorldScreen {
method = "init",
at = @At(
value = "INVOKE", shift = At.Shift.AFTER,
target = "Lnet/minecraft/client/gui/screens/worldselection/WorldSelectionList;<init>(Lnet/minecraft/client/gui/screens/worldselection/SelectWorldScreen;Lnet/minecraft/client/Minecraft;IIIIILjava/lang/String;Lnet/minecraft/client/gui/screens/worldselection/WorldSelectionList;)V"
target = "Lnet/minecraft/client/gui/screens/worldselection/WorldSelectionList;<init>(Lnet/minecraft/client/gui/screens/worldselection/SelectWorldScreen;Lnet/minecraft/client/Minecraft;IIIILjava/lang/String;Lnet/minecraft/client/gui/screens/worldselection/WorldSelectionList;)V"
), cancellable = true
)
private void initWorldSelectionList(final CallbackInfo ci) {
Expand Down
4 changes: 2 additions & 2 deletions fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"accessWidener": "caramelchat.accesswidener",
"mixins": [ "caramelchat.mixins.json" ],
"depends": {
"fabricloader": ">=0.14.0",
"minecraft": ">=1.20.2"
"fabricloader": ">=0.15.0",
"minecraft": ">=1.20.3"
},
"breaks": {
"lunar": "*",
Expand Down
6 changes: 3 additions & 3 deletions forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml
modLoader="javafml" #mandatory
# A version range to match for said mod loader - for regular FML @Mod it will be the forge version
loaderVersion="[47,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
loaderVersion="[49,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
# The license for you mod. This is mandatory metadata and allows for easier comprehension of your redistributive properties.
# Review your options at https://choosealicense.com/. All rights reserved is the default copyright stance, and is thus the default here.
license="GNU LGPL 3.0"
Expand Down Expand Up @@ -48,11 +48,11 @@ Provides an enhanced IME input experience in Minecraft.
[[dependencies.caramelchat]]
modId = "forge"
mandatory = true
versionRange = "[48,)"
versionRange = "[49,)"
side = "CLIENT"

[[dependencies.caramelchat]]
modId="minecraft"
mandatory=true
versionRange = "[1.20.2,)"
versionRange = "[1.20.3,)"
side = "CLIENT"
2 changes: 1 addition & 1 deletion forge/src/main/resources/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"description": "caramelChat Resources",
"pack_format": 18
"pack_format": 22
}
}
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ archives_base_name=caramelChat
mod_version=1.1.1
maven_group=moe.caramel

minecraft_version=1.20.2
fabric_loader_version=0.14.22
forge_version=1.20.2-48.0.0
neoforge_version=20.2.86
minecraft_version=1.20.3
fabric_loader_version=0.15.0
# TODO Forge 1.20.3 # forge_version=1.20.2-48.0.0
# TODO NeoForge 1.20.3 # neoforge_version=20.2.86
4 changes: 2 additions & 2 deletions neoforge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ config = "caramelchat.mixins.json"
[[dependencies.caramelchat]]
modId="neoforge"
mandatory=true
versionRange="[20.2,)"
versionRange="[20.3,)"
ordering="NONE"
side="BOTH"

[[dependencies.caramelchat]]
modId="minecraft"
mandatory=true
versionRange="[1.20.2,)"
versionRange="[1.20.3,)"
ordering="NONE"
side="CLIENT"
2 changes: 1 addition & 1 deletion neoforge/src/main/resources/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"description": "caramelChat Resources",
"pack_format": 18
"pack_format": 22
}
}
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ pluginManagement {

include("common")
include("fabric")
include("forge")
include("neoforge")
//include("forge")
//include("neoforge")

0 comments on commit 38deb7e

Please sign in to comment.