From ae8d284ffd554f1a089d870579ce1816a9ad3d8d Mon Sep 17 00:00:00 2001 From: UselessBullets <80850784+UselessBullets@users.noreply.github.com> Date: Sat, 16 Dec 2023 01:33:45 -0600 Subject: [PATCH] Re categorized mixins into proper environments --- .../mixin/mixins/GuiIngameMenuMixin.java | 1 - src/main/resources/halplibe.mixins.json | 31 ++++++++++--------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/src/main/java/turniplabs/halplibe/mixin/mixins/GuiIngameMenuMixin.java b/src/main/java/turniplabs/halplibe/mixin/mixins/GuiIngameMenuMixin.java index 1bcd911..282585e 100644 --- a/src/main/java/turniplabs/halplibe/mixin/mixins/GuiIngameMenuMixin.java +++ b/src/main/java/turniplabs/halplibe/mixin/mixins/GuiIngameMenuMixin.java @@ -1,7 +1,6 @@ package turniplabs.halplibe.mixin.mixins; -import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiIngameMenu; import net.minecraft.client.gui.GuiScreen; diff --git a/src/main/resources/halplibe.mixins.json b/src/main/resources/halplibe.mixins.json index ed31766..0a38044 100644 --- a/src/main/resources/halplibe.mixins.json +++ b/src/main/resources/halplibe.mixins.json @@ -9,33 +9,36 @@ "accessors.DimensionAccessor", "accessors.EntityListAccessor", "accessors.LanguageAccessor", - "accessors.RenderManagerAccessor", "accessors.TileEntityAccessor", - "accessors.TileEntityRendererAccessor", "mixins.BlockFireMixin", - "mixins.BlockSoundDispatcherMixin", - "mixins.EntityClientPlayerMPMixin", - "mixins.GuiIngameMenuMixin", "mixins.I18nMixin", - "mixins.MinecraftMixin", - "mixins.RenderEngineMixin", - "mixins.RenderGlobalMixin", "mixins.network.EntityTrackerEntryMixin", - "mixins.network.MinecraftServerMixin", - "mixins.network.NetClientHandlerMixin", "mixins.network.NetworkManagerMixin", "mixins.network.PacketMixin", "mixins.registry.BlockMixin", "mixins.registry.ItemMixin", - "mixins.registry.MinecraftServerMixin", - "mixins.version.NetClientHandlerMixin", - "mixins.version.NetHandlerMixin", - "mixins.version.NetLoginHandlerMixin" + "mixins.version.NetHandlerMixin" + ], "client": [ + "accessors.RenderManagerAccessor", + "accessors.TileEntityRendererAccessor", + "mixins.BlockSoundDispatcherMixin", + "mixins.RenderGlobalMixin", + "mixins.RenderEngineMixin", + "mixins.EntityClientPlayerMPMixin", + "mixins.network.NetClientHandlerMixin", + "mixins.MinecraftMixin", "mixins.network.MinecraftMixin", + "mixins.version.NetClientHandlerMixin", + "mixins.GuiIngameMenuMixin", "mixins.registry.MinecraftMixin" ], + "server": [ + "mixins.network.MinecraftServerMixin", + "mixins.registry.MinecraftServerMixin", + "mixins.version.NetLoginHandlerMixin" + ], "injectors": { "defaultRequire": 1 }