mirror of
https://github.com/QuiltMC/quilt-template-mod
synced 2024-08-15 00:23:32 +00:00
Apply more suggestions
This commit is contained in:
parent
9546c62168
commit
1b54cf709c
3 changed files with 13 additions and 13 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue