changed some basic stuff

This commit is contained in:
Marcel Marcel 2021-05-21 18:18:32 +02:00
parent 5a12d62522
commit de15912066
5 changed files with 11 additions and 10 deletions

View file

@ -1,14 +1,14 @@
package net.fabricmc.example; package net.saltymc.eaa;
import net.fabricmc.api.ModInitializer; import net.fabricmc.api.ModInitializer;
public class ExampleMod implements ModInitializer { public class EaaMod implements ModInitializer {
@Override @Override
public void onInitialize() { public void onInitialize() {
// This code runs as soon as Minecraft is in a mod-load-ready state. // This code runs as soon as Minecraft is in a mod-load-ready state.
// However, some things (like resources) may still be uninitialized. // However, some things (like resources) may still be uninitialized.
// Proceed with mild caution. // Proceed with mild caution.
System.out.println("Hello Fabric world!"); System.out.println("EAA Mod initializing...");
} }
} }

View file

@ -1,4 +1,4 @@
package net.fabricmc.example.mixin; package net.saltymc.eaa.mixin;
import net.minecraft.client.gui.screen.TitleScreen; import net.minecraft.client.gui.screen.TitleScreen;
import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Mixin;

View file

Before

Width:  |  Height:  |  Size: 453 B

After

Width:  |  Height:  |  Size: 453 B

View file

@ -1,12 +1,13 @@
{ {
"schemaVersion": 1, "schemaVersion": 1,
"id": "modid", "id": "eaa",
"version": "${version}", "version": "${version}",
"name": "Example Mod", "name": "EAA Mod",
"description": "This is an example description! Tell everyone what your mod is about!", "description": "This is an example description! Tell everyone what your mod is about!",
"authors": [ "authors": [
"Me!" "MPK1",
"Hiajen"
], ],
"contact": { "contact": {
"homepage": "https://fabricmc.net/", "homepage": "https://fabricmc.net/",
@ -14,12 +15,12 @@
}, },
"license": "CC0-1.0", "license": "CC0-1.0",
"icon": "assets/modid/icon.png", "icon": "assets/eaa/icon.png",
"environment": "*", "environment": "*",
"entrypoints": { "entrypoints": {
"main": [ "main": [
"net.fabricmc.example.ExampleMod" "net.saltymc.eaa.EaaMod"
] ]
}, },
"mixins": [ "mixins": [

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"minVersion": "0.8", "minVersion": "0.8",
"package": "net.fabricmc.example.mixin", "package": "net.saltymc.eaa.mixin",
"compatibilityLevel": "JAVA_8", "compatibilityLevel": "JAVA_8",
"mixins": [ "mixins": [
], ],