Posted February 14, 201510 yr Sorry for that maybe simple question, but i couldn't find anything on the web. How to export coremods? If i export it as normal mod (gradlew build), i doesn't work when i put it in mods folder. It works fine in eclipse, but i just can not export it out side. Thanks for answering this (maybe easy) question! Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 14, 201510 yr Author You need an entry in the jar manifest: https://github.com/diesieben07/SevenCommons/blob/master/build.gradle#L40 Thanks! It helped! Now i have a question a bit out of topic: Can i force coremod to launch earlier? Beacuse what i'm doing works fine with just MC, but with other mods, it crashes because it doesn't find a class that isn't edited yet... Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 14, 201510 yr Author Okay, so: My mod is changing BiomeGenBase class and it crashes with different mods like Biomes O Plenty, Twilight forest... (also because they set up biomes registration in pre init and also becuse biomes registration class is instanceof BiomeGenBase): ---- Minecraft Crash Report ---- // There are four lights! Time: 14.02.15 17:22 Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/world/biome/BiomeGenBase at cpw.mods.fml.common.LoadController.transition(LoadController.java:162) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:515) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: java.lang.NoClassDefFoundError: net/minecraft/world/biome/BiomeGenBase at biomesoplenty.common.items.ItemBiomeFinder.<init>(ItemBiomeFinder.java:31) at biomesoplenty.common.core.BOPItems.registerItems(BOPItems.java:85) at biomesoplenty.common.core.BOPItems.init(BOPItems.java:46) at biomesoplenty.BiomesOPlenty.preInit(BiomesOPlenty.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) ... 10 more Caused by: java.lang.ClassNotFoundException: net.minecraft.world.biome.BiomeGenBase at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 41 more Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: ard at org.objectweb.asm.ClassWriter.getCommonSuperClass(Unknown Source) at org.objectweb.asm.ClassWriter.a(Unknown Source) at org.objectweb.asm.Frame.a(Unknown Source) at org.objectweb.asm.Frame.a(Unknown Source) at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source) at org.objectweb.asm.tree.MethodNode.accept(Unknown Source) at org.objectweb.asm.tree.MethodNode.accept(Unknown Source) at org.objectweb.asm.tree.ClassNode.accept(Unknown Source) at code.elix_x.coremods.antiidconflict.AntiIdConflictTransformer.patchBiomeGenBase(AntiIdConflictTransformer.java:285) at code.elix_x.coremods.antiidconflict.AntiIdConflictTransformer.transform(AntiIdConflictTransformer.java:52) at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ... 43 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 99285720 bytes (94 MB) / 972685312 bytes (927 MB) up to 5261361152 bytes (5017 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx5G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn1G AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.10.85.1291} [Forge Mod Loader] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized Forge{10.13.2.1291} [Minecraft Forge] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized BiomesOPlenty{2.1.0} [biomes O' Plenty] (BiomesOPlenty-1.7.10-2.1.0.1004-universal.jar) Unloaded->Constructed->Errored Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 14, 201510 yr Author So should i use COMPUTE_MAXS? Still isn't working Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 14, 201510 yr Author The same: ---- Minecraft Crash Report ---- // I just don't know what went wrong Time: 14.02.15 18:44 Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/world/biome/BiomeGenBase at cpw.mods.fml.common.LoadController.transition(LoadController.java:162) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:515) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: java.lang.NoClassDefFoundError: net/minecraft/world/biome/BiomeGenBase at biomesoplenty.common.items.ItemBiomeFinder.<init>(ItemBiomeFinder.java:31) at biomesoplenty.common.core.BOPItems.registerItems(BOPItems.java:85) at biomesoplenty.common.core.BOPItems.init(BOPItems.java:46) at biomesoplenty.BiomesOPlenty.preInit(BiomesOPlenty.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) ... 10 more Caused by: java.lang.ClassNotFoundException: net.minecraft.world.biome.BiomeGenBase at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 41 more Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: ard at org.objectweb.asm.ClassWriter.getCommonSuperClass(Unknown Source) at org.objectweb.asm.ClassWriter.a(Unknown Source) at org.objectweb.asm.Frame.a(Unknown Source) at org.objectweb.asm.Frame.a(Unknown Source) at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source) at org.objectweb.asm.tree.MethodNode.accept(Unknown Source) at org.objectweb.asm.tree.MethodNode.accept(Unknown Source) at org.objectweb.asm.tree.ClassNode.accept(Unknown Source) at code.elix_x.coremods.antiidconflict.AntiIdConflictTransformer.patchBiomeGenBase(AntiIdConflictTransformer.java:285) at code.elix_x.coremods.antiidconflict.AntiIdConflictTransformer.transform(AntiIdConflictTransformer.java:52) at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ... 43 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 115258424 bytes (109 MB) / 972685312 bytes (927 MB) up to 5261361152 bytes (5017 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx5G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn1G AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.10.85.1291} [Forge Mod Loader] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized Forge{10.13.2.1291} [Minecraft Forge] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized BiomesOPlenty{2.1.0} [biomes O' Plenty] (BiomesOPlenty-1.7.10-2.1.0.1004-universal.jar) Unloaded->Constructed->Errored Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 14, 201510 yr Author Aaaa sorry for false post: i put wrong version in mods... And with COMPUTE_MAXS it launches... How ever now i have another problem: Method <clinit> isn't found in obfuscated version, how ever in eclipse it is... EDIT: sorry, i messed up with translator... Now all works fine! THANK YOU VERY VERY VERY MUCH! Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 15, 201510 yr Author Welcome Back To this Topic! Now i seriously have problem: crash with COMPUTE_MAXS: I needed to recieve registartion of each biome. To do that i have to insert code in registerBiomeTypes in BiomeDictionary(forge!)(can't insert in <init> in BiomeGenBase, because fields are not initialized yet), but it crashes: [13:52:06] [Client thread/INFO] [sTDOUT]: [code.elix_x.coremods.antiidconflict.AntiIdConflictTransformer:transform:48]: *************** Patching BiomeDictionary *************** [13:52:06] [Client thread/INFO] [sTDOUT]: [code.elix_x.coremods.antiidconflict.AntiIdConflictTransformer:pacthBiomeDictionary:68]: *************** Patching registerBiomeType *************** [13:52:06] [Client thread/INFO] [sTDOUT]: [code.elix_x.coremods.antiidconflict.AntiIdConflictTransformer:pacthBiomeDictionary:118]: *************** Patching registerBiomeType completed *************** [13:52:06] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ---- // Ouch. That hurt Time: 15.02.15 13:52 Description: Initializing game java.lang.NoClassDefFoundError: net/minecraftforge/common/BiomeDictionary at net.minecraftforge.common.ForgeModContainer.postInit(ForgeModContainer.java:293) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:694) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288) at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) Caused by: java.lang.ClassNotFoundException: net.minecraftforge.common.BiomeDictionary at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 35 more Caused by: java.lang.NullPointerException at code.elix_x.coremods.antiidconflict.AntiIdConflictTransformer.pacthBiomeDictionary(AntiIdConflictTransformer.java:122) at code.elix_x.coremods.antiidconflict.AntiIdConflictTransformer.transform(AntiIdConflictTransformer.java:49) at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ... 37 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraftforge.common.ForgeModContainer.postInit(ForgeModContainer.java:293) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:694) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288) at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 800652960 bytes (763 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 8 mods loaded, 8 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized FML{7.10.85.1291} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized Forge{10.13.2.1291} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized antiidconflict{1.0} [Anti Id Conflict] (bin) Unloaded->Constructed->Pre-initialized->Initialized keysoverhaul{1.0} [Keys Overhaul] (bin) Unloaded->Constructed->Pre-initialized->Initialized armorsets{1.0} [Armor sets mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized avoidExplodingCreepers{1.0} [Avoid Exploding Creepers] (bin) Unloaded->Constructed->Pre-initialized->Initialized toolscompressor{1.0} [Tools compresser] (bin) Unloaded->Constructed->Pre-initialized->Initialized Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: AMD Radeon HD 8570D GL version 4.4.13084 Compatibility Profile Context 14.301.1001.0, ATI Technologies Inc. GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) [13:52:06] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\my\mcmodding\mods\toolscompressor\eclipse\.\crash-reports\crash-2015-02-15_13.52.06-client.txt AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release And here's my transformer class: public class AntiIdConflictTransformer implements IClassTransformer{ @Override public byte[] transform(String className, String transformedName, byte[] bytes) { if(className.equals("net.minecraftforge.common.BiomeDictionary")){ System.out.println("*************** Patching BiomeDictionary ***************"); bytes = pacthBiomeDictionary(className, bytes); System.out.println("*************** Patching BiomeDictionary Completed ***************"); } return bytes; } private byte[] pacthBiomeDictionary(String className, byte[] bytes) { String registerBiomeType = "registerBiomeType"; String listSubTags = "listSubTags"; ClassNode classNode = new ClassNode(); ClassReader classReader = new ClassReader(bytes); classReader.accept(classNode, 0); Iterator<MethodNode> methods = classNode.methods.iterator(); while(methods.hasNext()){ MethodNode m = methods.next(); if(m.name.equals(registerBiomeType)){ System.out.println("*************** Patching registerBiomeType ***************"); AbstractInsnNode currentNode = null; AbstractInsnNode targetNode = null; int place = -1; int index = -1; Iterator<AbstractInsnNode> iter = m.instructions.iterator(); while (iter.hasNext()) { index++; currentNode = iter.next(); if(currentNode.getOpcode() == Opcodes.INVOKESTATIC){ targetNode = currentNode; place = index; break; } } m.instructions.remove(m.instructions.get(place - 1)); m.instructions.insertBefore(targetNode, createNewListAndFillWith(new VarInsnNode(Opcodes.ALOAD, 0), new VarInsnNode(Opcodes.ALOAD, 1), createMethodNode(Opcodes.INVOKESTATIC, "code/elix_x/coremods/antiidconflict/AntiIdConflictBase", ".registerBiomeTypes", "(Lnet/minecraft/world/biome/BiomeGenBase;[Lnet/minecraftforge/common/BiomeDictionary$Type;)[Lnet/minecraftforge/common/BiomeDictionary$Type;") )); System.out.println("*************** Patching registerBiomeType completed ***************"); } } ClassWriter writer = new ClassWriter(ClassWriter.COMPUTE_MAXS); classNode.accept(writer); return writer.toByteArray(); } private InsnList createNewListAndFillWith(Object... nodes) { InsnList list = new InsnList(); for(Object node : nodes){ if(node instanceof AbstractInsnNode){ list.add((AbstractInsnNode) node); } if(node instanceof InsnList){ list.add(list); } } return list; } private MethodInsnNode createMethodNode(int opcode, String owner, String name, String desc) { return new MethodInsnNode(opcode, owner, name, desc); } } It can't happen because of (maybe) wrongly written and/or inserted code, becuse even without m.instructions.remove/insertBefore it crashes... Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 15, 201510 yr Author Okay so: i want to each biome that is registered put in my Multimap<Integer, BiomeGenBase>, and those taking same id, afterwards will be written in conflict file and shown in new GUI... Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 15, 201510 yr Author That's interesting! So now i know that this mod exists... ===TIME PASSED=== Actually i wound my own way to handle this... So that's fixed now! And by the way i just saw in BiomeGenBase class, that biomes limitation is set to 256 (private static final BiomeGenBase[] biomeList = new BiomeGenBase[256]. Do you know why? Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 15, 201510 yr Author Ooookay, maybe. I opened 1 random chunk storage and in biomes i saw this: text view: 0 0 0 0 0 7 7 7 0 0 0 16 16 16 16 16 0 0 0 0 0 7 7 7 7 7 7 16 16 16 16 16 0 0 0 0 0 7 7 7 7 7 7 7 16 16 16 16 0 0 0 0 0 7 7 7 7 7 7 7 7 16 16 16 7 7 7 7 7 7 7 7 7 7 7 7 7 16 16 16 7 7 7 7 7 7 7 7 7 7 7 7 7 16 16 16 7 7 7 7 7 7 7 7 16 16 16 16 16 16 16 16 7 7 7 7 7 7 7 16 16 16 16 16 16 16 16 16 16 16 7 7 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 What does this mean? EDIT: Does it like corresponds block1*1 block 1*2...block16*16? If so, what 256 limitation have to do with that? Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 15, 201510 yr Ooookay, maybe. I opened 1 random chunk storage and in biomes i saw this: text view: 0 0 0 0 0 7 7 7 0 0 0 16 16 16 16 16 0 0 0 0 0 7 7 7 7 7 7 16 16 16 16 16 0 0 0 0 0 7 7 7 7 7 7 7 16 16 16 16 0 0 0 0 0 7 7 7 7 7 7 7 7 16 16 16 7 7 7 7 7 7 7 7 7 7 7 7 7 16 16 16 7 7 7 7 7 7 7 7 7 7 7 7 7 16 16 16 7 7 7 7 7 7 7 7 16 16 16 16 16 16 16 16 7 7 7 7 7 7 7 16 16 16 16 16 16 16 16 16 16 16 7 7 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 What does this mean? EDIT: Does it like corresponds block1*1 block 1*2...block16*16? If so, what 256 limitation have to do with that? A byte has a max value of 255, meaning it ranges from 0-255, or 256 values. And yes, I think it corresponds blocks like that. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
February 15, 201510 yr Author Ooookay, maybe. I opened 1 random chunk storage and in biomes i saw this: text view: 0 0 0 0 0 7 7 7 0 0 0 16 16 16 16 16 0 0 0 0 0 7 7 7 7 7 7 16 16 16 16 16 0 0 0 0 0 7 7 7 7 7 7 7 16 16 16 16 0 0 0 0 0 7 7 7 7 7 7 7 7 16 16 16 7 7 7 7 7 7 7 7 7 7 7 7 7 16 16 16 7 7 7 7 7 7 7 7 7 7 7 7 7 16 16 16 7 7 7 7 7 7 7 7 16 16 16 16 16 16 16 16 7 7 7 7 7 7 7 16 16 16 16 16 16 16 16 16 16 16 7 7 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 What does this mean? EDIT: Does it like corresponds block1*1 block 1*2...block16*16? If so, what 256 limitation have to do with that? A byte has a max value of 255, meaning it ranges from 0-255, or 256 values. And yes, I think it corresponds blocks like that. Okay, no i'm understanding more: MC uses byte[256] to store biomes data for all it's 16 blocks... But whay can't they use int instead of byte to avoid that limitation? Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 16, 201510 yr Author Welcome back! I'm returning with more problems! My mod that is going with coremod is showing up in mods list in eclipse (even with returning null in getModContainerClass()), but not in MC outside! If i return base class in getModContainerClass and extend DummyModConatiner, mod is disabled even if i put this in class: @Override public Disableable canBeDisabled() { return Disableable.NEVER; } Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 16, 201510 yr Author Now it's active, but preinit,init,postinit are not called. @EventHandler public void pei(FMLPreInitializationEvent event) throws Exception{ preinit(event); } @EventHandler public static void preinit(FMLPreInitializationEvent event) throws Exception { System.out.println("PREINIT!"); mainFolder = new File(event.getModConfigurationDirectory().getPath() + "\\AntiIDConflict"); mainFolder.mkdir(); BiomesManager.preinit(event); EntitiesManager.preinit(event); /*entitiesFolder = new File(mainFolder, "\\entities"); entitiesFolder.mkdir();*/ } @EventHandler public void i(FMLInitializationEvent event) throws Exception{ init(event); } @EventHandler public static void init(FMLInitializationEvent event) { System.out.println("INIT!"); BiomesManager.init(event); EntitiesManager.init(event); } @EventHandler public void poi(FMLPostInitializationEvent event) throws Exception{ postinit(event); } @EventHandler public static void postinit(FMLPostInitializationEvent event) throws Exception { System.out.println("POSTINIT!"); BiomesManager.postinit(event); EntitiesManager.postinit(event); } removing @EventHandler from static or not static methods doesn't help. Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 16, 201510 yr Author Tried: @Subscribe @SubscribeEvent @EventHandler and mix and matching those, still nothing: @EventHandler @SubscribeEvent @Subscribe public void pei(FMLPreInitializationEvent event) throws Exception{ preinit(event); } @EventHandler @SubscribeEvent @Subscribe public static void preinit(FMLPreInitializationEvent event) throws Exception { System.out.println("PREINIT!"); mainFolder = new File(event.getModConfigurationDirectory().getPath() + "\\AntiIDConflict"); mainFolder.mkdir(); BiomesManager.preinit(event); EntitiesManager.preinit(event); /*entitiesFolder = new File(mainFolder, "\\entities"); entitiesFolder.mkdir();*/ } @EventHandler @SubscribeEvent @Subscribe public void i(FMLInitializationEvent event) throws Exception{ init(event); } @EventHandler @SubscribeEvent @Subscribe public static void init(FMLInitializationEvent event) { System.out.println("INIT!"); BiomesManager.init(event); EntitiesManager.init(event); } @EventHandler @SubscribeEvent @Subscribe public void poi(FMLPostInitializationEvent event) throws Exception{ postinit(event); } @EventHandler @SubscribeEvent @Subscribe public static void postinit(FMLPostInitializationEvent event) throws Exception { System.out.println("POSTINIT!"); BiomesManager.postinit(event); EntitiesManager.postinit(event); } Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 16, 201510 yr Author Wait... where should i register it, if init isn't called? Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 16, 201510 yr Author It's finally working! THANKS! And for others: use @Subscribe (not @SubscribeEvent) on init methods Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
February 17, 201510 yr Author Is done other way in 1.8? Instead of registering, i get this in console: [12:44:17] [Client thread/ERROR] [FML]: Unable to determine registrant mod for TextureAtlasSprite{name='minecraft:white', frameCount=0, rotated=false, x=0, y=0, height=0, width=0, u0=0.0, u1=0.0, v0=0.0, v1=0.0}. This is a critical error and should be impossible java.lang.Throwable at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:55) [EventBus.class:?] at net.minecraftforge.client.model.ModelLoader.<init>(ModelLoader.java:83) [ModelLoader.class:?] at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:470) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:325) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?] Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.