rename stuff
This commit is contained in:
parent
1c6e3a2abf
commit
1695fac71e
6 changed files with 27 additions and 28 deletions
|
@ -5,6 +5,6 @@ org.gradle.parallel = true
|
|||
# Mod Properties
|
||||
version = 1.0.0
|
||||
maven_group = minecommune.xyz
|
||||
archives_base_name = mico-mc
|
||||
archives_base_name = micomc
|
||||
|
||||
# Dependencies are managed at gradle/libs.versions.toml
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
package com.example.example_mod;
|
||||
package xyz.minecommune.micomc;
|
||||
|
||||
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 {
|
||||
public class MicoMc 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.
|
|
@ -1,16 +1,17 @@
|
|||
package com.example.example_mod.mixin;
|
||||
package xyz.minecommune.micomc.mixin;
|
||||
|
||||
import com.example.example_mod.ExampleMod;
|
||||
import net.minecraft.client.gui.screen.TitleScreen;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
import xyz.minecommune.micomc.MicoMc;
|
||||
|
||||
@Mixin(TitleScreen.class)
|
||||
public class TitleScreenMixin {
|
||||
|
||||
@Inject(method = "init", at = @At("TAIL"))
|
||||
public void onInit(CallbackInfo ci) {
|
||||
ExampleMod.LOGGER.info("This line is printed by an example mod mixin!");
|
||||
MicoMc.LOGGER.info("This line is printed by an example mod mixin!");
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 180 B |
|
@ -1,12 +1,10 @@
|
|||
{
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "com.example.example_mod.mixin",
|
||||
"package": "xyz.minecommune.micomc.mixin",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"mixins": [],
|
||||
"client": [
|
||||
"TitleScreenMixin"
|
||||
],
|
||||
"client": ["TitleScreenMixin"],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
|
|
|
@ -2,24 +2,23 @@
|
|||
"schema_version": 1,
|
||||
"quilt_loader": {
|
||||
"group": "${group}",
|
||||
"id": "example_mod",
|
||||
"id": "micomc",
|
||||
"version": "${version}",
|
||||
"metadata": {
|
||||
"name": "Mod Name",
|
||||
"description": "A short description of your mod.",
|
||||
"name": "MiCo MC",
|
||||
"description": "General Purpouse mod hand made for the MineCommune Server",
|
||||
"contributors": {
|
||||
"Your name here": "Owner"
|
||||
"Your name here": "Morrigan"
|
||||
},
|
||||
"contact": {
|
||||
"homepage": "https://example.com/",
|
||||
"issues": "https://github.com/QuiltMC/quilt-template-mod/issues",
|
||||
"sources": "https://github.com/QuiltMC/quilt-template-mod"
|
||||
},
|
||||
"icon": "assets/example_mod/icon.png"
|
||||
"homepage": "https://minecommune.xyz/",
|
||||
"issues": "https://thighs.faith/morrigan/mico-mc/issues",
|
||||
"sources": "https://thighs.faith/morrigan/mico-mc"
|
||||
}
|
||||
},
|
||||
"intermediate_mappings": "net.fabricmc:intermediary",
|
||||
"entrypoints": {
|
||||
"init": "com.example.example_mod.ExampleMod"
|
||||
"init": "xyz.minecommune.micomc.MicoMc"
|
||||
},
|
||||
"depends": [
|
||||
{
|
||||
|
@ -36,5 +35,5 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"mixin": "example_mod.mixins.json"
|
||||
"mixin": "mico-mod.mixins.json"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue