Apply more suggestions

This commit is contained in:
Ennui Langeweile 2022-04-20 17:11:34 -03:00
parent 9546c62168
commit 1b54cf709c
No known key found for this signature in database
GPG key ID: 688A9E714BCD13B2
3 changed files with 13 additions and 13 deletions

View file

@ -21,7 +21,7 @@ dependencies {
minecraft libs.minecraft minecraft libs.minecraft
mappings loom.layered { mappings loom.layered {
addLayer quiltMappings.mappings("org.quiltmc:quilt-mappings:${libs.versions.quilt.mappings.get()}:v2") 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 modImplementation libs.quilt.loader

View file

@ -1,14 +1,14 @@
pluginManagement { pluginManagement {
repositories { repositories {
maven { maven {
name = 'Quilt' name = 'Quilt'
url = 'https://maven.quiltmc.org/repository/release' url = 'https://maven.quiltmc.org/repository/release'
} }
// Currently needed for Intermediary and other temporary dependencies // Currently needed for Intermediary and other temporary dependencies
maven { maven {
name = 'Fabric' name = 'Fabric'
url = 'https://maven.fabricmc.net/' url = 'https://maven.fabricmc.net/'
} }
gradlePluginPortal() gradlePluginPortal()
} }
} }

View file

@ -13,6 +13,6 @@ public class ExampleMod implements ModInitializer {
@Override @Override
public void onInitialize(ModContainer mod) { 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());
} }
} }