Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Fafnir

Addon development setup

3 posts in this topic

I'm trying to setup a basic development environment in eclipse.

I made the basic forge setup (build 1217) and added the content of the folders API, ASM and Common from github to the project as sources folders.

So far it seems to be the way to go as I have only 10 errors :

The constructor WorldType(int, String) is not visible	TFCWorldType.java	/Minecraft/src/TFC/com/bioxx/tfc/WorldGen	line 36	Java ProblemThe field EntityPlayer.sleepTimer is not visible	BlockBed.java	/Minecraft/src/TFC/com/bioxx/tfc/Blocks/Vanilla	line 154	Java ProblemThe final field Blocks.snow_layer cannot be assigned	TFCBlocks.java	/Minecraft/src/TFC/com/bioxx/tfc	line 566	Java ProblemThe final field Items.bow cannot be assigned	TFCItems.java	/Minecraft/src/TFC/com/bioxx/tfc	line 1023	Java ProblemThe final field Items.lead cannot be assigned	TFCItems.java	/Minecraft/src/TFC/com/bioxx/tfc	line 1029	Java ProblemThe final field WorldType.DEFAULT cannot be assigned	TerraFirmaCraft.java	/Minecraft/src/TFC/com/bioxx/tfc	line 158	Java ProblemThe final field WorldType.FLAT cannot be assigned	TerraFirmaCraft.java	/Minecraft/src/TFC/com/bioxx/tfc	line 159	Java ProblemThe method func_149807_p(World, int, int, int) from the type BlockDynamicLiquid is not visible	BlockCustomLiquid.java	/Minecraft/src/TFC/com/bioxx/tfc/Blocks/Liquids	line 285	Java ProblemThe method func_149807_p(World, int, int, int) of type BlockCustomLiquid must override or implement a supertype method	BlockCustomLiquid.java	/Minecraft/src/TFC/com/bioxx/tfc/Blocks/Liquids	line 279	Java ProblemThe method getSlotAtPosition(int, int) from the type GuiContainer is not visible	FMLClientEventHandler.java	/Minecraft/src/TFC/com/bioxx/tfc/Handlers/Client	line 66	Java Problem

I thought that they should be fixed at runtime with asm injections (tell me if this is wrong) but it didn't and the jvm complain about them :

 

 

 

[15:08:29] [main/INFO] [GradleStart]: No arguments specified, assuming client.[15:08:29] [main/INFO] [GradleStart]: Extra: [][15:08:29] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, /home/memilian/.gradle/caches/minecraft/assets, --version, 1.7.10][15:08:29] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker[15:08:29] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker[15:08:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker[15:08:29] [main/INFO] [FML]: Forge Mod Loader version 7.10.84.1217 for Minecraft 1.7.10 loading[15:08:29] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_67, running on Linux:amd64:3.13.0-24-generic, installed at /usr/local/java/jdk1.7.0_67/jre[15:08:29] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation[15:08:29] [main/INFO] [FML]: Found a command line coremod : com.bioxx.tfc.TFCASMLoadingPlugin[15:08:29] [main/WARN] [FML]: The coremod com.bioxx.tfc.TFCASMLoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft[15:08:29] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker[15:08:29] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker[15:08:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker[15:08:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker[15:08:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper[15:08:29] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work![15:08:30] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing[15:08:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper[15:08:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper[15:08:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker[15:08:31] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker[15:08:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker[15:08:31] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}[15:08:31] [main/INFO]: Setting user: Player713[15:08:32] [main/INFO] [STDOUT]: [com.bioxx.tfc.ASM.ClassTransformer:transform:56]: Attempting to Transform: net/minecraft/entity/player/EntityPlayerMP | Found 1 injections[15:08:32] [main/INFO] [STDOUT]: [com.bioxx.tfc.ASM.ClassTransformer:transform:148]: Inserted: net/minecraft/entity/player/EntityPlayerMP : {onUpdateEntity | ()V}[15:08:32] [main/INFO] [STDOUT]: [com.bioxx.tfc.ASM.ClassTransformer:transform:151]: Attempting to Transform: net/minecraft/entity/player/EntityPlayerMP Complete[15:08:32] [main/INFO] [STDOUT]: [com.bioxx.tfc.ASM.ClassTransformer:transform:56]: Attempting to Transform: net/minecraft/entity/EntityLeashKnot | Found 1 injections[15:08:32] [main/INFO] [STDOUT]: [com.bioxx.tfc.ASM.ClassTransformer:transform:148]: Inserted: net/minecraft/entity/EntityLeashKnot : {onValidSurface | ()Z}[15:08:32] [main/INFO] [STDOUT]: [com.bioxx.tfc.ASM.ClassTransformer:transform:151]: Attempting to Transform: net/minecraft/entity/EntityLeashKnot Complete[15:08:33] [Client thread/INFO]: LWJGL Version: 2.9.1[15:08:33] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@38d87eb2. This is a critical error and should be impossiblejava.lang.Throwableat cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]at cpw.mods.fml.common.eventhandler.EventBus.(EventBus.java:36) [EventBus.class:?]at net.minecraftforge.common.MinecraftForge.(MinecraftForge.java:21) [MinecraftForge.class:?]at net.minecraftforge.fluids.FluidRegistry.registerFluid(FluidRegistry.java:83) [FluidRegistry.class:?]at net.minecraftforge.fluids.FluidRegistry.(FluidRegistry.java:50) [FluidRegistry.class:?]at net.minecraftforge.client.ForgeHooksClient.(ForgeHooksClient.java:425) [ForgeHooksClient.class:?]at net.minecraft.client.Minecraft.startGame(Minecraft.java:474) [Minecraft.class:?]at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]at GradleStart.bounce(GradleStart.java:107) [start/:?]at GradleStart.startClient(GradleStart.java:100) [start/:?]at GradleStart.main(GradleStart.java:55) [start/:?][15:08:33] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@2750e7a. This is a critical error and should be impossiblejava.lang.Throwableat cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]at cpw.mods.fml.common.eventhandler.EventBus.(EventBus.java:36) [EventBus.class:?]at net.minecraftforge.common.MinecraftForge.(MinecraftForge.java:22) [MinecraftForge.class:?]at net.minecraftforge.fluids.FluidRegistry.registerFluid(FluidRegistry.java:83) [FluidRegistry.class:?]at net.minecraftforge.fluids.FluidRegistry.(FluidRegistry.java:50) [FluidRegistry.class:?]at net.minecraftforge.client.ForgeHooksClient.(ForgeHooksClient.java:425) [ForgeHooksClient.class:?]at net.minecraft.client.Minecraft.startGame(Minecraft.java:474) [Minecraft.class:?]at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]at GradleStart.bounce(GradleStart.java:107) [start/:?]at GradleStart.startClient(GradleStart.java:100) [start/:?]at GradleStart.main(GradleStart.java:55) [start/:?][15:08:33] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@53096cd8. This is a critical error and should be impossiblejava.lang.Throwableat cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]at cpw.mods.fml.common.eventhandler.EventBus.(EventBus.java:36) [EventBus.class:?]at net.minecraftforge.common.MinecraftForge.(MinecraftForge.java:23) [MinecraftForge.class:?]at net.minecraftforge.fluids.FluidRegistry.registerFluid(FluidRegistry.java:83) [FluidRegistry.class:?]at net.minecraftforge.fluids.FluidRegistry.(FluidRegistry.java:50) [FluidRegistry.class:?]at net.minecraftforge.client.ForgeHooksClient.(ForgeHooksClient.java:425) [ForgeHooksClient.class:?]at net.minecraft.client.Minecraft.startGame(Minecraft.java:474) [Minecraft.class:?]at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]at GradleStart.bounce(GradleStart.java:107) [start/:?]at GradleStart.startClient(GradleStart.java:100) [start/:?]at GradleStart.main(GradleStart.java:55) [start/:?][15:08:33] [Client thread/INFO] [STDOUT]: [tv.twitch.StandardCoreAPI::16]: If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.[15:08:33] [Client thread/ERROR]: Couldn't initialize twitch stream[15:08:33] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@2cceb87f. This is a critical error and should be impossiblejava.lang.Throwableat cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]at cpw.mods.fml.common.eventhandler.EventBus.(EventBus.java:36) [EventBus.class:?]at cpw.mods.fml.common.FMLCommonHandler.(FMLCommonHandler.java:90) [FMLCommonHandler.class:?]at cpw.mods.fml.common.FMLCommonHandler.(FMLCommonHandler.java:77) [FMLCommonHandler.class:?]at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:188) [FMLClientHandler.class:?]at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]at GradleStart.bounce(GradleStart.java:107) [start/:?]at GradleStart.startClient(GradleStart.java:100) [start/:?]at GradleStart.main(GradleStart.java:55) [start/:?][15:08:33] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization[15:08:33] [Client thread/INFO] [FML]: MinecraftForge v10.13.1.1217 Initialized[15:08:33] [Client thread/INFO] [FML]: Replaced 182 ore recipies[15:08:33] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization[15:08:33] [Client thread/INFO] [FML]: Searching /home/memilian/dev/modding_wksp/TFCModding/eclipse/mods for mods[15:08:36] [Client thread/INFO] [FML]: Forge Mod Loader has identified 6 mods to load[15:08:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tfc_coremod, terrafirmacraft, examplemod] at CLIENT[15:08:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tfc_coremod, terrafirmacraft, examplemod] at SERVER[15:08:37] [Client thread/INFO] [STDOUT]: [com.bioxx.tfc.ASM.ClassTransformer:transform:56]: Attempting to Transform: net/minecraft/client/renderer/EntityRenderer | Found 1 injections[15:08:37] [Client thread/INFO] [STDOUT]: [com.bioxx.tfc.ASM.ClassTransformer:transform:148]: Inserted: net/minecraft/client/renderer/EntityRenderer : {updateRenderer | ()V}[15:08:37] [Client thread/INFO] [STDOUT]: [com.bioxx.tfc.ASM.ClassTransformer:transform:151]: Attempting to Transform: net/minecraft/client/renderer/EntityRenderer Complete[15:08:37] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TerraFirmaCraft, FMLFileResourcePack:Example Mod[15:08:37] [Client thread/INFO] [FML]: Processing ObjectHolder annotations[15:08:37] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations[15:08:37] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0[15:08:37] [Client thread/INFO] [FML]: Applying holder lookups[15:08:37] [Client thread/INFO] [FML]: Holder lookups applied[15:08:37] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue[15:08:37] [Client thread/ERROR] [FML]:mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initializedFML{7.10.84.1217} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.1.1217.jar) Unloaded->Constructed->Pre-initializedForge{10.13.1.1217} [Minecraft Forge] (forgeSrc-1.7.10-10.13.1.1217.jar) Unloaded->Constructed->Pre-initializedtfc_coremod{0.79.6} [TFC[coremod]] (minecraft.jar) Unloaded->Constructed->Pre-initializedterrafirmacraft{0.79.6} [TerraFirmaCraft] (bin) Unloaded->Constructed->Erroredexamplemod{1.0} [Example Mod] (bin) Unloaded->Constructed->Pre-initialized[15:08:37] [Client thread/ERROR] [FML]: The following problems were captured during this phase[15:08:37] [Client thread/ERROR] [FML]: Caught exception from terrafirmacraftjava.lang.Error: Unresolved compilation problems:The final field WorldType.DEFAULT cannot be assignedThe final field WorldType.FLAT cannot be assignedat com.bioxx.tfc.TerraFirmaCraft.preInit(TerraFirmaCraft.java:158) ~[bin/:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[forgeSrc-1.7.10-10.13.1.1217.jar:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[forgeSrc-1.7.10-10.13.1.1217.jar:?]at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[forgeSrc-1.7.10-10.13.1.1217.jar:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) [Loader.class:?]at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) [FMLClientHandler.class:?]at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67]at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67]at GradleStart.bounce(GradleStart.java:107) [start/:?]at GradleStart.startClient(GradleStart.java:100) [start/:?]at GradleStart.main(GradleStart.java:55) [start/:?][15:08:37] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----// SorryTime: 12/10/14 15:08Description: There was a severe problem during mod loading that has caused the game to failcpw.mods.fml.common.LoaderException: java.lang.Error: Unresolved compilation problems:The final field WorldType.DEFAULT cannot be assignedThe final field WorldType.FLAT cannot be assignedat 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.startGame(Minecraft.java:522)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(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)at net.minecraft.launchwrapper.Launch.main(Launch.java:28)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)at GradleStart.bounce(GradleStart.java:107)at GradleStart.startClient(GradleStart.java:100)at GradleStart.main(GradleStart.java:55)Caused by: java.lang.Error: Unresolved compilation problems:The final field WorldType.DEFAULT cannot be assignedThe final field WorldType.FLAT cannot be assignedat com.bioxx.tfc.TerraFirmaCraft.preInit(TerraFirmaCraft.java:158)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)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(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)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)... 17 moreA detailed walkthrough of the error, its code path and all known details is as follows:----------------------------------------------------------------------------------------- System Details --Details:Minecraft Version: 1.7.10Operating System: Linux (amd64) version 3.13.0-24-genericJava Version: 1.7.0_67, Oracle CorporationJava VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle CorporationMemory: 879329288 bytes (838 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024MAABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) usedIntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0FML: MCP v9.05 FML v7.10.84.1217 Minecraft Forge 10.13.1.1217 6 mods loaded, 6 mods activemcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initializedFML{7.10.84.1217} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.1.1217.jar) Unloaded->Constructed->Pre-initializedForge{10.13.1.1217} [Minecraft Forge] (forgeSrc-1.7.10-10.13.1.1217.jar) Unloaded->Constructed->Pre-initializedtfc_coremod{0.79.6} [TFC[coremod]] (minecraft.jar) Unloaded->Constructed->Pre-initializedterrafirmacraft{0.79.6} [TerraFirmaCraft] (bin) Unloaded->Constructed->Erroredexamplemod{1.0} [Example Mod] (bin) Unloaded->Constructed->Pre-initialized[15:08:37] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# /home/memilian/dev/modding_wksp/TFCModding/eclipse/./crash-reports/crash-2014-10-12_15.08.37-client.txt

 

Any clue on what am I doing wrong ?

0

Share this post


Link to post
Share on other sites

I think you didn't include the coremod dummy jar. An easier way to do this however is to just run the gradlew.bat through command prompt to setup the environment.

 

To do this you go to the folder that the unzipped TFC-Master files are in, shift right click and select open command window here. Type gradlew.bat setupDecompWorkspace, then gradlew.bat eclipse (idea for intellij), and then you should be able to open the project in that IDE. Then run gradlew.bat gIR to setup your default launch locations, and voila.

 

Note: I have not yet modded TFC, so this may not work/be ideal, but it is how I play the dev build when I'm impatient :).

1

Share this post


Link to post
Share on other sites

Thanks you, that helped me to figure it out !

I did include the coremod dummy jar but the problem was the 10 errors that are basically just the invalid access or assignment to fields and functions that are either private or final in the vanilla classes.

What is weird is that in the forge jar from the TFC project theses fields are no longer private or final. So I just had to replace the forge jar in my project by the one in TFC project and it works !

1

Share this post


Link to post
Share on other sites