From 0f0f8786ac87528ed3b0d0c1dbbf125d377bcc7a Mon Sep 17 00:00:00 2001 From: Adam Macdonald <72780006+twokilohertz@users.noreply.github.com> Date: Sun, 19 Mar 2023 03:04:19 +0000 Subject: [PATCH] Change package from *.HotbarReload to *.hotbarreload - just typical convention --- .../{HotbarReplace => hotbarreplace}/HotbarReplace.java | 2 +- .../mixin/HotbarReplaceMixin.java | 4 ++-- src/main/resources/fabric.mod.json | 2 +- src/main/resources/hotbarreplace.mixins.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename src/main/java/today/theladpack/{HotbarReplace => hotbarreplace}/HotbarReplace.java (95%) rename src/main/java/today/theladpack/{HotbarReplace => hotbarreplace}/mixin/HotbarReplaceMixin.java (83%) diff --git a/src/main/java/today/theladpack/HotbarReplace/HotbarReplace.java b/src/main/java/today/theladpack/hotbarreplace/HotbarReplace.java similarity index 95% rename from src/main/java/today/theladpack/HotbarReplace/HotbarReplace.java rename to src/main/java/today/theladpack/hotbarreplace/HotbarReplace.java index 96045db..18bc3a8 100644 --- a/src/main/java/today/theladpack/HotbarReplace/HotbarReplace.java +++ b/src/main/java/today/theladpack/hotbarreplace/HotbarReplace.java @@ -1,4 +1,4 @@ -package today.theladpack.HotbarReplace; +package today.theladpack.hotbarreplace; import net.fabricmc.api.ModInitializer; import org.slf4j.Logger; diff --git a/src/main/java/today/theladpack/HotbarReplace/mixin/HotbarReplaceMixin.java b/src/main/java/today/theladpack/hotbarreplace/mixin/HotbarReplaceMixin.java similarity index 83% rename from src/main/java/today/theladpack/HotbarReplace/mixin/HotbarReplaceMixin.java rename to src/main/java/today/theladpack/hotbarreplace/mixin/HotbarReplaceMixin.java index ecc2d63..4f8a2bc 100644 --- a/src/main/java/today/theladpack/HotbarReplace/mixin/HotbarReplaceMixin.java +++ b/src/main/java/today/theladpack/hotbarreplace/mixin/HotbarReplaceMixin.java @@ -1,11 +1,11 @@ -package today.theladpack.HotbarReplace.mixin; +package today.theladpack.hotbarreplace.mixin; 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 today.theladpack.HotbarReplace.HotbarReplace; +import today.theladpack.hotbarreplace.HotbarReplace; @Mixin(TitleScreen.class) public class HotbarReplaceMixin { diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 52e1142..d8df644 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -19,7 +19,7 @@ "environment": "*", "entrypoints": { "main": [ - "today.theladpack.HotbarReplace.HotbarReplace" + "today.theladpack.hotbarreplace.HotbarReplace" ] }, "mixins": [ diff --git a/src/main/resources/hotbarreplace.mixins.json b/src/main/resources/hotbarreplace.mixins.json index 4e292d7..0933d78 100644 --- a/src/main/resources/hotbarreplace.mixins.json +++ b/src/main/resources/hotbarreplace.mixins.json @@ -1,7 +1,7 @@ { "required": true, "minVersion": "0.8", - "package": "today.theladpack.HotbarReplace.mixin", + "package": "today.theladpack.hotbarreplace.mixin", "compatibilityLevel": "JAVA_17", "mixins": [ ],