Jump to content

[1.7.10] Addon mod help


Mattasdqwe

Recommended Posts

I am creating an addon mod for thermal expansion and I was wondering how to reference a parent mod's classes in 1.7.10. The forge tutorial doesn't work for me and I have seen others do it

(https://github.com/TheTemportalist/ThaumicExpansion/blob/master/src/com/temportalist/thaumicexpansion/common/block/BlockThaumicAnalyzer.java). Any help would be greatly appreciated.

Link to comment
Share on other sites

I am creating an addon mod for thermal expansion and I was wondering how to reference a parent mod's classes in 1.7.10.

Will this mod need thermal expansion, or not must. If yes, create new source folder in eclipse called srs/api/java and src/api/resources, and in first put te source, in second te resources... Than when you will compile, te will not be compiled...

Link to comment
Share on other sites

Also, i don't think you need any of it's source excluding te-api... So download it and put it in src/api/java and than for testing download code chicken core - dev, cofth core, thermal foundation, thermal expansion and put all these in eclipse/mods...

Link to comment
Share on other sites

Also, i don't think you need any of it's source excluding te-api... So download it and put it in src/api/java and than for testing download code chicken core - dev, cofth core, thermal foundation, thermal expansion and put all these in eclipse/mods...

 

Thanks for the response but I don't think thermal expansion has an api. There is the COFH api, however all other addon mods source code i've seen references thermal expansion classes themselves and I was wondering how this specifically could be achieved.

Link to comment
Share on other sites

Also, i don't think you need any of it's source excluding te-api... So download it and put it in src/api/java and than for testing download code chicken core - dev, cofth core, thermal foundation, thermal expansion and put all these in eclipse/mods...

 

Thanks for the response but I don't think thermal expansion has an api. There is the COFH api, however all other addon mods source code i've seen references thermal expansion classes themselves and I was wondering how this specifically could be achieved.

If you want to add recipes, there's Pulses, Pulse Managers and FMLInterModComms.

Managers register pulsars, pulsar's methods are getting called only if mod is loaded and Inter Mod Comms, "send" data between mods...

Link to comment
Share on other sites

 

No I can add recipes with the cofh api, what I want to do is extend a thermal expansion class like another addon mod does here: https://github.com/TheTemportalist/ThaumicExpansion/blob/master/src/com/temportalist/thaumicexpansion/common/tile/TEThaumicAnalyzer.java

 

As you can see he imports thermal expansion things and extends a thermal expansion class (TileMachineBase) and I cannot figure out how to do this.

Link to comment
Share on other sites

  • 2 years later...
On 02/05/2015 at 6:53 AM, Awesome_Spider said:

Thermal Expansion's source is not obtainable. It's not github. Just Thermal Foundation and COFHCore.

Actually all TeamCoFH mods are open source on GitHub (at least they now are).

Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.