From 2243539d6b525e0e9a44c67b820779cf4ed6fdb9 Mon Sep 17 00:00:00 2001 From: Patbox <39821509+Patbox@users.noreply.github.com> Date: Thu, 18 Apr 2024 21:11:55 +0200 Subject: [PATCH] Update to 1.20.5rc1 --- build.gradle | 3 +-- gradle.properties | 12 ++++++------ .../java/eu/pb4/placeholderstest/TestMod.java | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 250f2c3..23ea0ad 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '1.5-SNAPSHOT' + id 'fabric-loom' version '1.6.+' id 'maven-publish' } @@ -57,7 +57,6 @@ dependencies { //modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modCompileOnly("net.fabricmc.fabric-api:fabric-api:${project.fabric_version}") modLocalRuntime("net.fabricmc.fabric-api:fabric-api:${project.fabric_version}") - modLocalRuntime("eu.pb4:polymer-reg-sync-manipulator:0.0.1+1.19") modCompileOnly("eu.pb4:placeholder-api:2.1.1+1.20") modCompileOnly("me.lucko:fabric-permissions-api:0.2-SNAPSHOT") diff --git a/gradle.properties b/gradle.properties index 18394b8..3184f3a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,15 +3,15 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use - minecraft_version=24w13a - yarn_mappings=24w13a+build.2 - loader_version=0.15.7 +minecraft_version=1.20.5-rc1 +yarn_mappings=1.20.5-rc1+build.1 +loader_version=0.15.10 - #Fabric api - fabric_version=0.96.12+1.20.5 +#Fabric api +fabric_version=0.97.3+1.20.5 # Mod Properties - mod_version = 0.3.0+1.20.5 + mod_version = 0.4.0+1.20.5 maven_group = eu.pb4 archives_base_name = predicate-api diff --git a/src/testmod/java/eu/pb4/placeholderstest/TestMod.java b/src/testmod/java/eu/pb4/placeholderstest/TestMod.java index 9399577..670e494 100644 --- a/src/testmod/java/eu/pb4/placeholderstest/TestMod.java +++ b/src/testmod/java/eu/pb4/placeholderstest/TestMod.java @@ -27,7 +27,7 @@ private static int test(CommandContext context) { public void onInitialize() { CommandRegistrationCallback.EVENT.register((dispatcher, registryAccess, dedicated) -> { dispatcher.register( - literal("test").then(argument("text", TextArgumentType.text()).executes(TestMod::test)) + literal("test").then(argument("text", TextArgumentType.text(registryAccess)).executes(TestMod::test)) ); }); }