Jump to content

GuardStar

Members
  • Posts

    4
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    Cambridge, Ontario, CANADA

GuardStar's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks for the help GuardStar
  2. Greetings, I downloaded and installed the latest 1.7.2 source and when I tried to setup logging like the old tutorials examples Eclipse indicated that there was problems with the following statements. public static Logger logger; logger = Logger.getLogger(MODID); logger.setParent(FMLLog.getLogger()); When I investigated the FML source I discovered that FMLLog no longer imports import java.util.logging.Level; import java.util.logging.Logger; but instead uses import org.apache.logging.log4j.Level; import org.apache.logging.log4j.Logger; If i import log4j I get an error with "logger = Logger.getLogger(MODID);" if I import the old java.util.logging i get errors with "logger.setParent(FMLLog.getLogger());" So how do I properly use Logging with 1.7.2 mods? Thanks in advanced GuardStar
  3. Thanks for the replies. I did a little more digging and at the ComputerCraft forum i was able to find a solution that worked for me. There was a reference to a tool called bearded-octo-nemesis which uses MCP to deobfuscate existing mods. I does not decompile the mod so the source is still not readable but it does allow you to link to it as a library and run it inside eclipse. forge detects the mod and loads it. I am not sure if it will work with all the mods but it did allow me to run ComputerCraft from inside eclipse. Here is a link to the github repository if anyone else is interested in looking into it. https://github.com/immibis/bearded-octo-nemesis
  4. Greetings Everyone, I have what I hope is a simple question. I was wondering how you go about adding an existing mod without having the source files. I tried placing one in the \forge\mcp\jars\mods folder and when I start it from eclipse forge does report (in the console) that it found the mod but it then fails to load it and all i get is a black screen. is this even possible? thanks GuardStar
×
×
  • Create New...

Important Information

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