diff options
author | nea <romangraef@gmail.com> | 2022-07-26 11:42:48 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-07-26 11:42:48 +0200 |
commit | 37218614c6d7f8a903b6532196dfa7d1e94a948f (patch) | |
tree | f3ab92298b23ac839eaa84b3af1c769adfa52fda /common/src/main/kotlin/net/examplemod/mixin | |
parent | 372eec27e5e0c8ef796ed9e6bcdc68a10df84718 (diff) | |
download | Firmament-37218614c6d7f8a903b6532196dfa7d1e94a948f.tar.gz Firmament-37218614c6d7f8a903b6532196dfa7d1e94a948f.tar.bz2 Firmament-37218614c6d7f8a903b6532196dfa7d1e94a948f.zip |
legacy tag parsing and transformation
Diffstat (limited to 'common/src/main/kotlin/net/examplemod/mixin')
-rw-r--r-- | common/src/main/kotlin/net/examplemod/mixin/MixinTitleScreen.kt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/common/src/main/kotlin/net/examplemod/mixin/MixinTitleScreen.kt b/common/src/main/kotlin/net/examplemod/mixin/MixinTitleScreen.kt deleted file mode 100644 index 0b7e009..0000000 --- a/common/src/main/kotlin/net/examplemod/mixin/MixinTitleScreen.kt +++ /dev/null @@ -1,23 +0,0 @@ -package net.examplemod.mixin - -import net.minecraft.client.gui.screens.TitleScreen -import org.objectweb.asm.Opcodes -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.Redirect -import org.spongepowered.asm.mixin.injection.callback.CallbackInfo - -@Mixin(TitleScreen::class) -class MixinTitleScreen { - @Inject(at = [At("HEAD")], method = ["init()V"]) - private fun init(info: CallbackInfo) { - println("Hello from example architectury common mixin!") - } - - @Redirect(method = ["render"], at = At("FIELD", target = "minceraftEasterEgg", opcode = Opcodes.GETFIELD)) - private fun nextFloat(t: TitleScreen): Boolean { - return true - } - -} |