Temporarily commented out mixins

This commit is contained in:
Adubbz 2015-01-12 21:35:20 +11:00
parent b9244b6032
commit 7fbf148e73
5 changed files with 34 additions and 7 deletions

View File

@ -80,8 +80,9 @@ jar {
manifest {
attributes 'FMLCorePlugin': 'biomesoplenty.common.asm.BOPLoadingPlugin'
attributes 'FMLCorePluginContainsFMLMod': 'true'
attributes 'TweakClass': "org.spongepowered.asm.launch.MixinTweaker"
attributes 'TweakOrder': "10000"
attributes 'FMLAT': 'biomesoplenty_at.cfg'
//attributes 'TweakClass': "org.spongepowered.asm.launch.MixinTweaker"
//attributes 'TweakOrder': "10000"
}
classifier = 'universal'

View File

@ -10,8 +10,8 @@ package biomesoplenty.common.asm;
import java.util.Map;
import org.spongepowered.asm.launch.MixinBootstrap;
import org.spongepowered.asm.mixin.MixinEnvironment;
//import org.spongepowered.asm.launch.MixinBootstrap;
//import org.spongepowered.asm.mixin.MixinEnvironment;
import biomesoplenty.common.asm.transformers.BOPAccessTransformer;
import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin;
@ -22,14 +22,14 @@ public class BOPLoadingPlugin implements IFMLLoadingPlugin
{
public BOPLoadingPlugin()
{
MixinBootstrap.init();
MixinEnvironment.getCurrentEnvironment().addConfiguration("mixins.biomesoplenty.json");
//MixinBootstrap.init();
//MixinEnvironment.getCurrentEnvironment().addConfiguration("mixins.biomesoplenty.json");
}
@Override
public String[] getASMTransformerClass()
{
return new String[] { MixinBootstrap.TRANSFORMER_CLASS };
return new String[] { /*MixinBootstrap.TRANSFORMER_CLASS*/ };
}
@Override

18
src/main/resources/mcmod.info Executable file
View File

@ -0,0 +1,18 @@
[{
"modid": "BiomesOPlenty",
"name": "Biomes O' Plenty",
"description": "Adds over 75 new biomes, blocks, and more!",
"version": "${mod_version}",
"mcversion": "${minecraft_version}",
"url": "www.minecraftforum.net/topic/1495041-",
"updateUrl": "",
"authorList": ["Adubbz", "Amnet", "Forstride", "ted80"],
"credits": "enchilado, gamax92, Soaryn, Tim Rurkowski",
"logoFile": "assets/biomesoplenty/textures/gui/logo.png",
"screenshots": [],
"parent": "",
"requiredMods": [],
"dependencies": [],
"dependants": [],
"useDependencyInformation": "false"
}]

6
src/main/resources/pack.mcmeta Executable file
View File

@ -0,0 +1,6 @@
{
"pack": {
"pack_format": 1,
"description": "Resources used for Biomes O' Plenty"
}
}

View File

@ -0,0 +1,2 @@
${modid}.version=${mod_version}
${modid}.build_number=${build_number}