This commit is contained in:
Gæmer
2025-07-22 18:16:17 +02:00
parent 91c0137f61
commit e28a539d90
12 changed files with 22 additions and 26 deletions

View File

@@ -1,2 +0,0 @@
# scorched earth

View File

@@ -22,7 +22,7 @@ loom {
splitEnvironmentSourceSets() splitEnvironmentSourceSets()
mods { mods {
"scorched-earth" { "scorched_earth" {
sourceSet sourceSets.main sourceSet sourceSets.main
sourceSet sourceSets.client sourceSet sourceSets.client
} }

View File

@@ -10,9 +10,9 @@ loader_version=0.16.14
loom_version=1.11-SNAPSHOT loom_version=1.11-SNAPSHOT
# Mod Properties # Mod Properties
mod_version=1.0.0 mod_version=0.0.0
maven_group=com.smithy.scorchedearth maven_group=com.smithy.scorched_earth
archives_base_name=scorched-earth archives_base_name=scorched_earth
# Dependencies # Dependencies
fabric_version=0.92.6+1.20.1 fabric_version=0.92.6+1.20.1

View File

@@ -1,4 +1,4 @@
package com.smithy.scorchedearth; package com.smithy.scorched_earth;
import net.fabricmc.api.ClientModInitializer; import net.fabricmc.api.ClientModInitializer;

View File

@@ -1,4 +1,4 @@
package com.smithy.scorchedearth; package com.smithy.scorched_earth;
import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint; import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint;
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator; import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator;

View File

@@ -1,4 +1,4 @@
package com.smithy.scorchedearth.mixin.client; package com.smithy.scorched_earth.mixin.client;
import net.minecraft.client.MinecraftClient; import net.minecraft.client.MinecraftClient;
import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Mixin;

View File

@@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"package": "com.smithy.scorchedearth.mixin.client", "package": "com.smithy.scorched_earth.mixin.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_17",
"client": [ "client": [
"ExampleClientMixin" "ExampleClientMixin"

View File

@@ -1,4 +1,4 @@
package com.smithy.scorchedearth; package com.smithy.scorched_earth;
import net.fabricmc.api.ModInitializer; import net.fabricmc.api.ModInitializer;
@@ -6,7 +6,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
public class ScorchedEarth implements ModInitializer { public class ScorchedEarth implements ModInitializer {
public static final String MOD_ID = "scorched-earth"; public static final String MOD_ID = "scorched_earth";
// This logger is used to write text to the console and the log file. // This logger is used to write text to the console and the log file.
// It is considered best practice to use your mod id as the logger's name. // It is considered best practice to use your mod id as the logger's name.
@@ -19,6 +19,6 @@ public class ScorchedEarth implements ModInitializer {
// 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.
LOGGER.info("Hello Fabric world!"); LOGGER.info("man this Earth is " + MOD_ID);
} }
} }

View File

@@ -1,4 +1,4 @@
package com.smithy.scorchedearth.mixin; package com.smithy.scorched_earth.mixin;
import net.minecraft.server.MinecraftServer; import net.minecraft.server.MinecraftServer;
import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Mixin;

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -1,6 +1,6 @@
{ {
"schemaVersion": 1, "schemaVersion": 1,
"id": "scorched-earth", "id": "scorched_earth",
"version": "${version}", "version": "${version}",
"name": "Scorched Earth", "name": "Scorched Earth",
"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!",
@@ -12,33 +12,31 @@
"sources": "https://github.com/FabricMC/fabric-example-mod" "sources": "https://github.com/FabricMC/fabric-example-mod"
}, },
"license": "CC0-1.0", "license": "CC0-1.0",
"icon": "assets/scorched-earth/icon.png", "icon": "assets/scorched_earth/icon.png",
"environment": "*", "environment": "*",
"entrypoints": { "entrypoints": {
"main": [ "main": [
"com.smithy.scorchedearth.ScorchedEarth" "com.smithy.scorched_earth.ScorchedEarth"
], ],
"client": [ "client": [
"com.smithy.scorchedearth.ScorchedEarthClient" "com.smithy.scorched_earth.ScorchedEarthClient"
], ],
"fabric-datagen": [ "fabric-datagen": [
"com.smithy.scorchedearth.ScorchedEarthDataGenerator" "com.smithy.scorched_earth.ScorchedEarthDataGenerator"
] ]
}, },
"mixins": [ "mixins": [
"scorched-earth.mixins.json", "scorched_earth.mixins.json",
{ {
"config": "scorched-earth.client.mixins.json", "config": "scorched_earth.client.mixins.json",
"environment": "client" "environment": "client"
} }
], ],
"depends": { "depends": {
"fabricloader": ">=0.16.14", "fabricloader": ">=0.16.10",
"minecraft": "~1.20.1", "minecraft": "~1.20.1",
"java": ">=17", "java": ">=17",
"fabric-api": "*" "fabric-api": "*"
}, },
"suggests": { "suggests": {}
"another-mod": "*"
}
} }

View File

@@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"package": "com.smithy.scorchedearth.mixin", "package": "com.smithy.scorched_earth.mixin",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_17",
"mixins": [ "mixins": [
"ExampleMixin" "ExampleMixin"