File tree Expand file tree Collapse file tree 3 files changed +42
-61
lines changed
java/com/lambda/client/mixin Expand file tree Collapse file tree 3 files changed +42
-61
lines changed Original file line number Diff line number Diff line change @@ -175,11 +175,9 @@ jar {
175
175
' Manifest-Version' : 1.0 ,
176
176
' MixinConfigs' : ' mixins.lambda.json' ,
177
177
' TweakClass' : ' org.spongepowered.asm.launch.MixinTweaker' ,
178
- ' TweakOrder' : 0 ,
179
178
' FMLCorePluginContainsFMLMod' : ' true' ,
180
- ' FMLCorePlugin' : ' com.lambda.client.mixin.MixinLoaderForge' ,
181
- ' ForceLoadAsMod' : ' true' ,
182
- ' Main-Class' : ' com.lambda.client.installer.Installer'
179
+ ' FMLCorePlugin' : ' com.lambda.client.LambdaCoreMod' ,
180
+ ' ForceLoadAsMod' : ' true'
183
181
)
184
182
185
183
// Copy needed libs to jar
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ package com.lambda.client
2
+
3
+ import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin
4
+ import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin.MCVersion
5
+ import org.apache.logging.log4j.LogManager
6
+ import org.spongepowered.asm.launch.MixinBootstrap
7
+ import org.spongepowered.asm.mixin.MixinEnvironment
8
+ import org.spongepowered.asm.mixin.Mixins
9
+
10
+ @IFMLLoadingPlugin.Name (" LambdaCoreMod" )
11
+ @MCVersion(" 1.12.2" )
12
+ class LambdaCoreMod : IFMLLoadingPlugin {
13
+ override fun getASMTransformerClass (): Array <String > {
14
+ return emptyArray()
15
+ }
16
+
17
+ override fun getModContainerClass (): String? {
18
+ return null
19
+ }
20
+
21
+ override fun getSetupClass (): String? {
22
+ return null
23
+ }
24
+
25
+
26
+ override fun injectData (data : Map <String , Any >) {}
27
+
28
+ override fun getAccessTransformerClass (): String? {
29
+ return null
30
+ }
31
+
32
+ init {
33
+ val logger = LogManager .getLogger(" Lambda" )
34
+
35
+ MixinBootstrap .init ()
36
+ Mixins .addConfigurations(" mixins.lambda.json" , " mixins.baritone.json" )
37
+ MixinEnvironment .getDefaultEnvironment().obfuscationContext = " searge"
38
+ logger.info(" Lambda and Baritone mixins initialised." )
39
+ }
40
+ }
You can’t perform that action at this time.
0 commit comments