Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Arch Linux x86_64.

I've downloaded the latest Minecraft Forge src, unzip it and run the commands:

$ ./grandlew setupDecompWorkspace --refresh-dependencies
****************************
Powered By MCP:             
http://mcp.ocean-labs.de/   
Searge, ProfMobius, Fesh0r, 
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : snapshot_20141130
****************************
:extractMcpData
:getVersionJson
:extractUserDev
:genSrgs SKIPPED
:extractNatives
:copyNativesLegacy
:getAssetsIndex
:getAssets
:makeStart SKIPPED
:downloadMcpTools SKIPPED
:downloadClient SKIPPED
:downloadServer SKIPPED
:mergeJars SKIPPED
:deobfuscateJar SKIPPED
:decompile SKIPPED
:processSources SKIPPED
:remapJar SKIPPED
:extractMinecraftSrc SKIPPED
:recompMinecraft SKIPPED
:repackMinecraft SKIPPED
:setupDecompWorkspace UP-TO-DATE

BUILD SUCCESSFUL

Total time: 1 mins 28.31 secs
$ ./grandlew eclipse
****************************
Powered By MCP:             
http://mcp.ocean-labs.de/   
Searge, ProfMobius, Fesh0r, 
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : snapshot_20141130
****************************
:eclipseClasspath
:eclipseJdt
:eclipseProject
:eclipse

BUILD SUCCESSFUL

Total time: 33.346 secs

But dir "eclipse" still empty and dir "src/" contains only "main/java/com/example/examplemod" with one file "ExampleMod.java" and "main/resources" with one file "mdmod.info".

As result, all Minecraft Forge imports don't work.

Where is the problem?

  • Author

I lost the console window with command and closed the manual, so I don't copy-paste that.

But if there is no error, why sources don't appear? Or I need to download something additional before running the script?

  • Author

Ok, what I should do to get Minecraft sources in eclipse workspace and get imports like

import cpw.mods.fml.common.Mod;

work?

  • Author

Ok, but I have not package net.minecraftforge.fml too. This is the structure of "src" dir:

src
└── main
    ├── java
    │   └── com
    │       └── example
    │           └── examplemod
    │               └── ExampleMod.java
    └── resources
        └── mcmod.info

And how to get sources of Minecraft in eclipse workspace?

If you ran "gradle setupDecompWorkspace eclipse" You have it, it isn't under your source because you don't need the minecraft source in your source, it's under referenced libraries

If you are not understanding what people are telling you, you need to research a bit about what a library (a jar file in the Java world) is.

just you wait! ;)

  • Author

I found it in referenced libraries, but how to get Minecrarft sources?

There are no Minecraft source in referenced libraries.

I done command "./gradlew eclipse", but there is no Minecraft sources anywhere in eclipse package explorer.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.