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
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

View file

@ -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()
}
}

View file

@ -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());
}
}