From 1b54cf709c435c58e168cf72cbd72b79270b6d61 Mon Sep 17 00:00:00 2001 From: Ennui Langeweile <85590273+EnnuiL@users.noreply.github.com> Date: Wed, 20 Apr 2022 17:11:34 -0300 Subject: [PATCH] Apply more suggestions --- build.gradle | 2 +- settings.gradle | 22 +++++++++---------- .../com/example/example_mod/ExampleMod.java | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index cf2956a..539ec12 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ dependencies { minecraft libs.minecraft mappings loom.layered { addLayer quiltMappings.mappings("org.quiltmc:quilt-mappings:${libs.versions.quilt.mappings.get()}:v2") - // addLayer loom.officialMojangMappings() // Uncomment if you want to use Mojang Mappings as your primary mappings, falling back on QM for parameters and Javadocs + // officialMojangMappings() // Uncomment if you want to use Mojang Mappings as your primary mappings, falling back on QM for parameters and Javadocs } modImplementation libs.quilt.loader diff --git a/settings.gradle b/settings.gradle index 79c5c08..d969e34 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,14 +1,14 @@ pluginManagement { - repositories { - maven { - name = 'Quilt' - url = 'https://maven.quiltmc.org/repository/release' - } + repositories { + maven { + name = 'Quilt' + url = 'https://maven.quiltmc.org/repository/release' + } // Currently needed for Intermediary and other temporary dependencies - maven { - name = 'Fabric' - url = 'https://maven.fabricmc.net/' - } - gradlePluginPortal() - } + maven { + name = 'Fabric' + url = 'https://maven.fabricmc.net/' + } + gradlePluginPortal() + } } diff --git a/src/main/java/com/example/example_mod/ExampleMod.java b/src/main/java/com/example/example_mod/ExampleMod.java index 9db5f50..d1a71b2 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 Example Mod v{}!", mod.metadata().version().raw()); + LOGGER.info("Hello Quilt world from {} v{}!", mod.metadata().name(), mod.metadata().version().raw()); } }