blob: ee2143759bb4398ecbd2ab8cc8faba2f8f80df37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package dulkirmod.forge
import net.minecraftforge.common.ForgeVersion
import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin
import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin.MCVersion
import org.spongepowered.asm.launch.MixinBootstrap
import org.spongepowered.asm.mixin.MixinEnvironment
import org.spongepowered.asm.mixin.Mixins
@MCVersion(ForgeVersion.mcVersion)
class FMLLoadingPlugin : IFMLLoadingPlugin {
override fun getASMTransformerClass(): Array<String> = emptyArray()
override fun getModContainerClass(): String? = null
override fun getSetupClass(): String? = null
override fun injectData(data: Map<String, Any>) {}
override fun getAccessTransformerClass(): String? = null
init {
MixinBootstrap.init()
Mixins.addConfiguration("mixins.dulkirmod.json")
MixinEnvironment.getCurrentEnvironment().obfuscationContext = "searge"
}
}
|