From b2fb439e6d79f42184196f549d11a36466e3758f Mon Sep 17 00:00:00 2001 From: Ennui Langeweile <85590273+EnnuiL@users.noreply.github.com> Date: Thu, 21 Apr 2022 00:33:17 -0300 Subject: [PATCH] Update Quilted FAPI, making QEM usable Also, improved the onInitialize message --- gradle/libs.versions.toml | 2 +- src/main/java/com/example/example_mod/ExampleMod.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ed1a21e..abeeed8 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ minecraft = "1.18.2" quilt_mappings = "1.18.2+build.22" quilt_loader = "0.16.0-beta.7" -quilted_fabric_api = "1.0.0-beta.6+0.51.1-1.18.2" +quilted_fabric_api = "1.0.0-beta.7+0.51.1-1.18.2" [libraries] minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" } diff --git a/src/main/java/com/example/example_mod/ExampleMod.java b/src/main/java/com/example/example_mod/ExampleMod.java index 27b6648..b64b63c 100644 --- a/src/main/java/com/example/example_mod/ExampleMod.java +++ b/src/main/java/com/example/example_mod/ExampleMod.java @@ -13,6 +13,6 @@ public class ExampleMod implements ModInitializer { @Override public void onInitialize(ModContainer mod) { - LOGGER.info("Hello Quilt world from {} v{}!", mod.metadata().name(), mod.metadata().version().raw()); + LOGGER.info("Hello Quilt world from {}!", mod.metadata().name()); } }