Jump to content

AbeJ

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by AbeJ

  1. I'm writing my mod in Scala, and I suddenly started getting these errors when compiling:

     

    == Recompiling client ==
    > Cleaning bin
    > Recompiling
    '"scalac" -encoding UTF-8 -deprecation -target:jvm-1.6 -classpath "lib:lib/*:jars/bin/minecraft.jar:j...' failed : 1
    
    == ERRORS FOUND in SCALA CODE ==
    
    src/minecraft/cpw/mods/fml/common/IFMLSidedHandler.java:29: error: value EntityRegistration is not a member of object cpw.mods.fml.common.registry.EntityRegistry
    import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;
           ^
    
    src/minecraft/cpw/mods/fml/common/IFMLSidedHandler.java:42: error: not found: type EntityRegistration
        Entity spawnEntityIntoClientWorld(EntityRegistration registration, EntitySpawnPacket packet);
                                          ^

     

    I don't edit those classes, and I haven't restarted my computer or anything. That problem just started happening when I compiled one time, and now it won't go away. What can I do? I'm using Scala 2.10.0 (not sure if 2.10.1 is compatible).

  2. It's a completely clean jar, downloaded by Forge. Here's the relevant part of the output:

     

    == Reobfuscating server ==
    > Cleaning reobf
    > Generating md5s
    > Packing jar
    > Reobfuscating jar
    '"java" -cp "runtime/bin/retroguard.jar:lib:lib/*:jars/minecraft_server.jar" RetroGuard -notch temp/s...' failed : 1
    
    == ERRORS FOUND ==
    
    Unrecoverable error during obfuscation, see log file for details.
    ERROR: error in opening zip file
    ==================
    
    FATAL ERROR
    Traceback (most recent call last):
      File "runtime/reobfuscate.py", line 53, in reobfuscate
        reobfuscate_side(commands, SERVER, reobf_all=reobf_all)
      File "/Users/abe/mcp/runtime/mcp.py", line 158, in reobfuscate_side
        commands.applyrg(side, True)
      File "/Users/abe/mcp/runtime/commands.py", line 907, in applyrg
        self.runcmd(forkcmd)
      File "/Users/abe/mcp/runtime/commands.py", line 1111, in runcmd
        raise CalledProcessError(process.returncode, forkcmd, output)
    CalledProcessError: Command '"java" -cp "runtime/bin/retroguard.jar:lib:lib/*:jars/minecraft_server.jar" RetroGuard -notch temp/server_ro.cfg' returned non-zero exit status 1
    

     

    Any ideas? I'm running Python 2.7.2, but I don't think that's important in this case.

  3. Yes, if you can indicate the launcher that is not working we can work with the author of that launcher and get it compatible...

     

    Not the OP, but sk89q's launcher is the only one I've had problems with. I tried fixing the issue in SK's code myself, but it's completely the part I was looking at was undocumented :P.

     

    Edit: It's caused by the fact that Forge tries to interface with net.minecraft.Launcher, which doesn't exist in most alternative launchers.

×
×
  • Create New...

Important Information

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