From f91e1418574ba4c0fa16e40d3b70b7a6f096a008 Mon Sep 17 00:00:00 2001 From: KayoticCarnige Date: Tue, 20 Aug 2024 23:23:20 -0400 Subject: [PATCH] Cleanup unused files --- gradle.properties | 2 +- .../kckarnige/slowbronze/SlowBronzeClient.java | 9 --------- .../slowbronze/SlowBronzeDataGenerator.java | 11 ----------- .../com/kckarnige/slowbronze/item/ModItems.java | 2 +- .../kckarnige/slowbronze/mixin/ExampleMixin.java | 15 --------------- src/main/resources/fabric.mod.json | 14 +------------- src/main/resources/slowbronze.mixins.json | 11 ----------- 7 files changed, 3 insertions(+), 61 deletions(-) delete mode 100644 src/main/java/com/kckarnige/slowbronze/SlowBronzeClient.java delete mode 100644 src/main/java/com/kckarnige/slowbronze/SlowBronzeDataGenerator.java delete mode 100644 src/main/java/com/kckarnige/slowbronze/mixin/ExampleMixin.java delete mode 100644 src/main/resources/slowbronze.mixins.json diff --git a/gradle.properties b/gradle.properties index 9e88352..65b6afe 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,7 +10,7 @@ yarn_mappings=1.21+build.2 loader_version=0.15.11 # Mod Properties -mod_version=1.0.4 +mod_version=1.0.5 maven_group=com.kckarnige archives_base_name=slowyourbronze diff --git a/src/main/java/com/kckarnige/slowbronze/SlowBronzeClient.java b/src/main/java/com/kckarnige/slowbronze/SlowBronzeClient.java deleted file mode 100644 index 1becf24..0000000 --- a/src/main/java/com/kckarnige/slowbronze/SlowBronzeClient.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.kckarnige.slowbronze; - -import net.fabricmc.api.ClientModInitializer; - -public class SlowBronzeClient implements ClientModInitializer { - public void onInitializeClient() { - - } -} \ No newline at end of file diff --git a/src/main/java/com/kckarnige/slowbronze/SlowBronzeDataGenerator.java b/src/main/java/com/kckarnige/slowbronze/SlowBronzeDataGenerator.java deleted file mode 100644 index b0aacb2..0000000 --- a/src/main/java/com/kckarnige/slowbronze/SlowBronzeDataGenerator.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.kckarnige.slowbronze; - -import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint; -import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator; - -public class SlowBronzeDataGenerator implements DataGeneratorEntrypoint { - @Override - public void onInitializeDataGenerator(FabricDataGenerator fabricDataGenerator) { - - } -} diff --git a/src/main/java/com/kckarnige/slowbronze/item/ModItems.java b/src/main/java/com/kckarnige/slowbronze/item/ModItems.java index aadd7c7..32261c6 100644 --- a/src/main/java/com/kckarnige/slowbronze/item/ModItems.java +++ b/src/main/java/com/kckarnige/slowbronze/item/ModItems.java @@ -23,7 +23,7 @@ private static Item registerItem (String name, Item item) { } public static void registerModItems () { - SlowBronze.LOGGER.info("Registering Bronze Plate item... - " + SlowBronze.MOD_ID); + SlowBronze.LOGGER.info("[Slow Your Bronze] Registering Bronze Plate item..."); ItemGroupEvents.modifyEntriesEvent(ItemGroups.INGREDIENTS).register(ModItems::addItemToIngredientItemGroup); } diff --git a/src/main/java/com/kckarnige/slowbronze/mixin/ExampleMixin.java b/src/main/java/com/kckarnige/slowbronze/mixin/ExampleMixin.java deleted file mode 100644 index 8432ba9..0000000 --- a/src/main/java/com/kckarnige/slowbronze/mixin/ExampleMixin.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.kckarnige.slowbronze.mixin; - -import net.minecraft.server.MinecraftServer; -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; - -@Mixin(MinecraftServer.class) -public class ExampleMixin { - @Inject(at = @At("HEAD"), method = "loadWorld") - private void init(CallbackInfo info) { - // This code is injected into the start of MinecraftServer.loadWorld()V - } -} \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 7986e5b..f5611f9 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -17,26 +17,14 @@ "entrypoints": { "main": [ "com.kckarnige.slowbronze.SlowBronze" - ], - "client": [ - "com.kckarnige.slowbronze.SlowBronzeClient" - ], - "fabric-datagen": [ - "com.kckarnige.slowbronze.SlowBronzeDataGenerator" ] }, - "mixins": [ - "slowbronze.mixins.json" - ], "depends": { "fabricloader": ">=0.15.11", "minecraft": "~1.21", "java": ">=21", "fabric-api": "*", "bronze": ">=1.0.5", - "slowyourroll": ">=1.21-1.0.1" - }, - "suggests": { - "another-mod": "*" + "slowyourroll": ">=1.21-1.0.4" } } \ No newline at end of file diff --git a/src/main/resources/slowbronze.mixins.json b/src/main/resources/slowbronze.mixins.json deleted file mode 100644 index 51d814f..0000000 --- a/src/main/resources/slowbronze.mixins.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "required": true, - "package": "com.kckarnige.slowbronze.mixin", - "compatibilityLevel": "JAVA_21", - "mixins": [ - "ExampleMixin" - ], - "injectors": { - "defaultRequire": 1 - } -} \ No newline at end of file