aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-06-08 19:55:04 -0500
committeringlettronald <inglettronald@gmail.com>2023-06-08 19:55:04 -0500
commit4c66db32ac1f7ae1c260195fc50acf39831dd88b (patch)
treed1a2d106e06475c550104da17b2bb672b07f04dd /src/main
parentb9ebcac2b791c448da6aa1ecf03ebfe0530428b3 (diff)
downloadDulkirMod-Fabric-4c66db32ac1f7ae1c260195fc50acf39831dd88b.tar.gz
DulkirMod-Fabric-4c66db32ac1f7ae1c260195fc50acf39831dd88b.tar.bz2
DulkirMod-Fabric-4c66db32ac1f7ae1c260195fc50acf39831dd88b.zip
removed ExampleMixin.java
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/dulkirfabric/mixin/ExampleMixin.java28
-rw-r--r--src/main/resources/dulkirmod-fabric.mixins.json8
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