diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/dulkirfabric/mixin/ExampleMixin.java | 28 | ||||
-rw-r--r-- | src/main/resources/dulkirmod-fabric.mixins.json | 8 |
2 files changed, 3 insertions, 33 deletions
diff --git a/src/main/java/com/dulkirfabric/mixin/ExampleMixin.java b/src/main/java/com/dulkirfabric/mixin/ExampleMixin.java deleted file mode 100644 index 93b2b2d..0000000 --- a/src/main/java/com/dulkirfabric/mixin/ExampleMixin.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * If it is not possible or desirable to put the notice in a particular - * file, then You may include the notice in a location (such as a LICENSE - * file in a relevant directory) where a recipient would be likely to look - * for such a notice. - * - * You may add additional accurate notices of copyright ownership. - */ - -package com.dulkirfabric.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) { - - } -}
\ No newline at end of file diff --git a/src/main/resources/dulkirmod-fabric.mixins.json b/src/main/resources/dulkirmod-fabric.mixins.json index 8bf823d..6e58589 100644 --- a/src/main/resources/dulkirmod-fabric.mixins.json +++ b/src/main/resources/dulkirmod-fabric.mixins.json @@ -2,14 +2,12 @@ "required": true, "package": "com.dulkirfabric.mixin", "compatibilityLevel": "JAVA_17", - "mixins": [ - "ExampleMixin" - ], "injectors": { "defaultRequire": 1 }, "client": [ - "render.ScreenMixin", - "render.GameMenuScreenMixin" + "render.GameMenuScreenMixin", + "render.InventoryScreenMixin", + "render.ScreenMixin" ] }
\ No newline at end of file |