Hopefully finish everything

This commit is contained in:
Ennui Langeweile 2022-04-20 19:21:17 -03:00
parent 86571533eb
commit cb3b99397d
No known key found for this signature in database
GPG key ID: 688A9E714BCD13B2
5 changed files with 7 additions and 11 deletions

View file

@ -16,6 +16,7 @@ In order to use this mod as a template:
- The icon provided here is a placeholder one. If you aren't able to replace it yet, you can delete it and remove the "icon" property
- Create a LICENSE file for this mod! If you don't know which license to use, check out [here](https://choosealicense.com/).
- If you use `LICENSE.md`, don't forget to update the buildscript in order to use that file name!
- On `quilt.mod.json`, don't forget to put in `"metadata"` a `"license"` property that contains the license's [SPDX identifier](https://spdx.org/licenses/).
- The GPLv3 and AGPLv3 are not valid mod licenses, so you can use almost any license except for those.
- Update the Java sub-directory structure so it reflects your Maven group
- If the dependencies on `gradle/libs.versions.toml` isn't up-to-date, feel free to update them! The linked utility should help you in this easy and quick process.

View file

@ -32,13 +32,9 @@ dependencies {
processResources {
inputs.property "version", version
inputs.property "group", group
filesMatching('quilt.mod.json') {
expand(
"version": version,
"group": group
)
expand "version": version
}
}

View file

@ -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.5+0.48.0-1.18.2"
quilted_fabric_api = "1.0.0-beta.6+0.51.1-1.18.2"
[libraries]
minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" }

View file

@ -1,15 +1,15 @@
package com.example.example_mod;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.quiltmc.loader.api.ModContainer;
import org.quiltmc.qsl.base.api.entrypoint.ModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ExampleMod implements ModInitializer {
// This logger is used to write text to the console and the log file.
// It is considered best practice to use your mod name as the logger's name.
// That way, it's clear which mod wrote info, warnings, and errors.
public static final Logger LOGGER = LogManager.getLogger("Example Mod");
public static final Logger LOGGER = LoggerFactory.getLogger("Example Mod");
@Override
public void onInitialize(ModContainer mod) {

View file

@ -1,7 +1,7 @@
{
"schema_version": 1,
"quilt_loader": {
"group": "${group}",
"group": "com.example",
"id": "example_mod",
"version": "${version}",
"metadata": {
@ -10,7 +10,6 @@
"contributors": {
"Me!": "Owner"
},
"license": "ARR",
"icon": "assets/example_mod/icon.png"
},
"intermediate_mappings": "net.fabricmc:intermediary",