From c8190000f2b7a941b409ceb54c7b17e07da037c2 Mon Sep 17 00:00:00 2001 From: c0de Date: Mon, 20 Mar 2023 21:35:57 -0500 Subject: [PATCH] Fix Fullbright module --- src/main/java/dev/c0de/minecraft/client/c0deFoxModClient.java | 4 ++-- .../dev/c0de/minecraft/{ => client}/modules/Fullbright.java | 2 +- src/main/resources/c0defox.mixins.json | 4 ++-- src/main/resources/fabric.mod.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename src/main/java/dev/c0de/minecraft/{ => client}/modules/Fullbright.java (96%) diff --git a/src/main/java/dev/c0de/minecraft/client/c0deFoxModClient.java b/src/main/java/dev/c0de/minecraft/client/c0deFoxModClient.java index d13b54d..bd2ad89 100644 --- a/src/main/java/dev/c0de/minecraft/client/c0deFoxModClient.java +++ b/src/main/java/dev/c0de/minecraft/client/c0deFoxModClient.java @@ -1,7 +1,5 @@ package dev.c0de.minecraft.client; -import dev.c0de.minecraft.modules.Fullbright; - import net.fabricmc.api.ClientModInitializer; import net.fabricmc.api.EnvType; @@ -12,6 +10,8 @@ import net.minecraft.client.MinecraftClient; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import dev.c0de.minecraft.client.modules.Fullbright; + import java.util.List; @Environment(EnvType.CLIENT) diff --git a/src/main/java/dev/c0de/minecraft/modules/Fullbright.java b/src/main/java/dev/c0de/minecraft/client/modules/Fullbright.java similarity index 96% rename from src/main/java/dev/c0de/minecraft/modules/Fullbright.java rename to src/main/java/dev/c0de/minecraft/client/modules/Fullbright.java index af83e64..d4de1e6 100644 --- a/src/main/java/dev/c0de/minecraft/modules/Fullbright.java +++ b/src/main/java/dev/c0de/minecraft/client/modules/Fullbright.java @@ -1,4 +1,4 @@ -package dev.c0de.minecraft.modules; +package dev.c0de.minecraft.client.modules; import dev.c0de.minecraft.c0deFoxMod; import dev.c0de.minecraft.client.Module; diff --git a/src/main/resources/c0defox.mixins.json b/src/main/resources/c0defox.mixins.json index 064a4d9..f27bd9b 100644 --- a/src/main/resources/c0defox.mixins.json +++ b/src/main/resources/c0defox.mixins.json @@ -6,8 +6,8 @@ "mixins": [ ], "client": [ - "c0deFoxMixin", - "BrightnessMixin" + "BrightnessMixin", + "c0deFoxMixin" ], "injectors": { "defaultRequire": 1 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index d9efa31..f065fe1 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -14,7 +14,7 @@ }, "license": "MIT", - "icon": "assets/modid/icon.png", + "icon": "assets/c0defox/icon.png", "environment": "*", "entrypoints": {