Jump to content

mooncat39

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by mooncat39

  1. Hello. I just downloaded forge for 1.14.4 and wanted to make a mod using it, but I ran into a problem: I couldn't find the minecraft sources, which I use to figure out how minecraft & forge works. I searched the entire folder structure of the forge root folder for .java files and .jar files that contain sources, but didn't find anything. I also searched all of the .gradle folder in my home directory with no luck. What happened to the sources? Does forge use a new system for modding that doesn't involve decompiling the game? And if it doesn't decompile anymore, is there any way I could still view the sources, as I did with the old forge versions? (I've used 1.7.10 and 1.12.2 before). Thanks

  2. Just now, diesieben07 said:

    The Forge sources are not generated in your project, they are generated into the gradle cache (.gradle in your user home). If they are already present there is no need to generate them again, so the step is skipped. This is not an error.

    Thanks. I didn't know there was a .gradle folder in the home directory; I thought the only important .gradle folder was in the forge root.

  3. So I have a problem. I am trying to set up a forge development environment and it's skipping almost everything in setupDecompWorkspace. This is the output when I run that:
     

    #################################################
             ForgeGradle 2.3-SNAPSHOT-ee3e3df        
      https://github.com/MinecraftForge/ForgeGradle  
    #################################################
                     Powered by MCP                  
                 http://modcoderpack.com             
         by: Searge, ProfMobius, R4wk, ZeuX          
         Fesh0r, IngisKahn, bspkrs, LexManos         
    #################################################
    :deobfCompileDummyTask
    :deobfProvidedDummyTask
    :getVersionJson
    :extractUserdev
    :extractDependencyATs SKIPPED
    :extractMcpData SKIPPED
    :extractMcpMappings SKIPPED
    :genSrgs SKIPPED
    :downloadClient SKIPPED
    :downloadServer SKIPPED
    :splitServerJar SKIPPED
    :mergeJars SKIPPED
    :deobfMcSRG SKIPPED
    :decompileMc SKIPPED
    :fixMcSources SKIPPED
    :applySourcePatches SKIPPED
    :remapMcSources SKIPPED
    :recompileMc SKIPPED
    :extractNatives SKIPPED
    :getAssetIndex UP-TO-DATE
    :getAssets
    Current status: 1178/1305   90%
    :makeStart SKIPPED
    :setupDecompWorkspace
    
    BUILD SUCCESSFUL
    
    Total time: 15.129 secs

     

    As you can see, it says "SKIPPED" for most of the tasks. After looking through the folders, I have also found that there are also no minecraft sources (which is not that surprising since it said it skipped that step).

    One way I have tried to fix this was to do `gradlew clean`, remove the .gradle folder, and then try `gradlew setupDecompWorkspace` again. This doesn't seem to change anything though.
    Another way that I tried was to run `gradlew eclipse` afterwards and then import it into eclipse, but it's still the same -- there's no sources anywhere in the project.

    Any ideas on how to fix this?

×
×
  • Create New...

Important Information

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