Jump to content

Recommended Posts

Posted

This tutorial assumes you have some previous knowledge of Minecraft modding and have gotten all the initial stuff done (PATH variables whatnot).

Feel free to correct me. Check back once in a while for updates.

 

Contents

  • [iurl=#initial_setup]Initial Setup[/iurl]
  • [iurl=#advanced_setup]Advanced Setup[/iurl]
  • [iurl=#update_forge]Updating Forge[/iurl]
  • [iurl=#update_forgegradle]Updating ForgeGradle[/iurl]
  • [iurl=#compiling]Compiling/Obfuscating and Version Details[/iurl]
  • [iurl=#migrationbeta]Migrating to 1.8[/iurl]
  • [iurl=#migration]Migrating to 1.7[/iurl]
  • [iurl=#update_forgegradle]Updating ForgeGradle[/iurl]
  • [iurl=#troubleshoot]Troubleshooting Common Issues[/iurl]

 


 

[ANCHOR=initial_setup]Initial Setup[/ANCHOR]

First of all, make sure you have the latest version of Eclipse.

Download the latest version of the Forge source from the usual place and extract it somewhere.

 

Go inside the Forge folder.

Windows:

Use the cd command to navigate to the correct directory.

You can also hold shift, right click and click Open command window here to open it in the current directory.

Run the following in command prompt:

gradlew.bat setupDecompWorkspace
gradlew.bat eclipse

Mac OS X:

Use the cd command to navigate to the correct directory.

Run the following in terminal:

bash gradlew setupDecompWorkspace
bash gradlew eclipse

Linux:

Use the cd command to navigate to the correct directory.

Run the following in terminal:

./gradlew setupDecompWorkspace
./gradlew eclipse

You may need to run the following beforehand if the gradlew file is not executable:

chmod +x ./gradlew

 

Replace eclipse with idea if you are using IntelliJ IDEA.

 

If it is taking a long time to download assets, you can skip it by copying the assets folder from your normal minecraft folder to forge-directory/.gradle (so you will have forge-directory/.gradle/assets).

 

Now open up Eclipse and point the project directory to the eclipse folder. If this doesn't work for you, skip to the advanced setup.

You're done with the initial setup! You can now delete or study the example mod from src/main/java and the mcmod.info in src/main/resources. Replace it with your own mod.

 


 

[ANCHOR=advanced_setup]Advanced Initial Setup[/ANCHOR]

For those who cannot get the simple method to work.

See [iurl=#troubleshoot]the troubleshooting section[/iurl] before trying this method.

 

  Reveal hidden contents

 

 


 

[ANCHOR=update_forge]Updating Forge[/ANCHOR]

ForgeGradle allows you to update your dev environment to the latest version of Forge easily.

Open your build.gradle file. The following lines will interest you for this part:

minecraft {
    version = "1.7.2-10.12.2.1147"
    assetDir = "eclipse/assets"
}

Simply change the version field to the latest version of Forge, such as 1.7.10-10.13.0.1187. All versions are listed on the Forge download page.

minecraft {
    version = "1.7.10-10.13.0.1187"
    assetDir = "eclipse/assets"
}

Save the file, then navigate to your Forge directory. Run the setup command from the initial setup (setupDecompWorkspace and eclipse). Forge will update the necessary files.

If the process fails, you may also need to update ForgeGradle.

 


 

[ANCHOR=update_forgegradle]Updating ForgeGradle[/ANCHOR]

ForgeGradle is separate from Forge. Updating Forge alone will fail when updating between ForgeGradle versions.

These are the current versions of ForgeGradle and the versions of Forge they cover:

ForgeGradle

Forge Versions

-               

            959<, 965

1.0             

              960-964

1.1             

            967-1047

1.2             

                1048+

 

Delete your .gradle folder.

Then, open your build.gradle file. The following lines will interest you for this part:

    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:1.1-SNAPSHOT'
    }

Replace 1.1-SNAPSHOT with 1.2-SNAPSHOT.

 

Afterwards, go to the bottom of the file - this part can also be done on any previous version of ForgeGradle

processResources
{
    // replace stuff in mcmod.info, nothing else
    from(sourceSets.main.resources.srcDirs) {
    ...

Append 3 lines to the beginning of processResources:

processResources
{
    // this will ensure that this task is redone when the versions change.
    inputs.property "version", project.version
    inputs.property "mcversion", project.minecraft.version

    // replace stuff in mcmod.info, nothing else
    from(sourceSets.main.resources.srcDirs) {
    ...

 

Save the file, then navigate to your Forge directory. Run the setup command from the initial setup (setupDecompWorkspace and eclipse). ForgeGradle will update the necessary files.

 


 

[ANCHOR=compiling]Compiling/Obfuscating and Version Details[/ANCHOR]

Open your build.gradle file. The following lines will interest you for this part:

version = "1.0"
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "modid"

Change the version field to the version of your mod. For usability purposes append the version of Minecraft as a prefix, such as 1.7.10-

Change the group field to your personal project group names. For example, Forge uses net.minecraftforge

Change the archivesBaseName field to your Mod ID, the same one as you put in your @Mod annotation.

Your build.gradle file should look a bit like this now:

version = "1.7.10-1.0"
group= "com.github.username" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "TestMod"

Alternatively, you can append a suffix of the Minecraft version to your archivesBaseName field instead of the version field.

 

Go inside the Forge folder and run the following in command prompt/terminal.

Windows:

gradlew.bat build

Mac OS X:

bash gradlew build

Linux:

./gradlew build

 

If this is not the first time you are building and ForgeGradle seems to ignore any changes you made to your build.gradle file, you need to run the following command beforehand.

Backup your src folder first as it may be deleted.

Windows:

gradlew.bat clean

Mac OS X:

bash gradlew clean

Linux:

./gradlew clean

 

Your mod will be packaged as a .jar file inside forge-directory/build/libs - in our example, it will be named TestMod-1.7.2-1.0.jar

For more complex setups requiring other mods as dependencies, visit the #ForgeGradle or #MinecraftForge channels on EsperNet.

 


 

[ANCHOR=migrationbeta]Migration to 1.8 - Currently in beta![/ANCHOR]

Here are some of the biggest changes for 1.8:

  • Imports should change from [TT]cpw.mods[/TT] to [TT]net.minecraftforge[/TT]. For example:
    [TT]import cpw.mods.fml.common.Mod;[/TT]
    should be changed to
    [TT]import net.minecraftforge.fml.common.Mod;[/TT]
  • New BlockState stuff currently in development, details coming Soon™.
  • More to come as Forge for 1.8 is developed...

 


 

[ANCHOR=migration]Migration from 1.6 to 1.7[/ANCHOR]

Here are some of the biggest changes for 1.7:

  • Mod metadata parsing has been overhauled and no longer supports the authors field. If you are still using it in your mcmod.info file, change it to authorList.
    Technically, authorList has been in FML since 1.5, but the wiki has not been updated to reflect this change.
  • Goodbye block and item IDs! Those are now handled internally for you!
    Consequently, functions such as getBlockID no longer exist and have been replaced with a non-ID equivalent (in this case, getBlock).
  • NetworkMod is gone. A more advanced networking library is available instead (Netty).
  • @ForgeSubscribe is now @SubscribeEvent
  • Interfaces are now events
  • Renamed packets
  • List of blocks are now in Blocks.class instead of Block.class
  • List of items are now in Items.class instead of Item.class

 


 

[ANCHOR=troubleshoot]Troubleshooting Common Issues[/ANCHOR]

No Audio: Unable to play unknown soundEvent

Add the following to your runtime arguments:

Windows

--assetIndex 1.7.10 --assetsDir %userprofile%\.gradle\caches\minecraft\assets

If %userprofile% does not resolve to its actual value, you will need to use the absolute path.

You can type it in Windows Explorer to resolve the directory.

For example, mine would be [TT]C:\Users\GrygrFlzr\.gradle\caches\minecraft\assets[/TT]

Linux/OS X

--assetIndex 1.7.10 --assetsDir ~/.gradle/caches/minecraft/assets

 

 

Crash: joptsimple.MissingRequiredOptionException: Missing required option(s) ['accessToken']

Add the following to your runtime arguments:

 --accessToken FML

 

 

Crash: joptsimple.MissingRequiredOptionException: Missing required option(s) ['userProperties']

Add the following to your runtime arguments:

 --userProperties {}

 

 

Crash: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path

Right click the project (Minecraft) > Properties > Java Build Path > Libraries

Scroll down to find your version of lwjgl (eg. [TT]lwjgl-2.9.1.jar[/TT]), click the arrow beside it, and double click Native Library Location.

Locate your [TT]/build/natives[/TT] folder located in your workspace directory. For example, mine would be [TT]C:\Users\GrygrFlzr\Mods\GlowstoneWire\build\natives[/TT]

l1Hx5By.png

AeooTRh.png

qKI1cfY.png

 

You need to agree to the EULA in order to run the server. Go to eula.txt for more info.

Follow what it says. Go to forge-directory/eclipse, open eula.txt and change [TT]false[/TT] to [TT]true[/TT].

If the file does not exist, just create one named eula.txt, and put the following in it:

#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula).
eula=true

 


 

[ANCHOR=credits]Thanks to:[/ANCHOR]

  • LexManos for the new

  • AbrarSyed for sort of explaining the process at 4AM when he should be sleeping, and giving pointers on ForgeGradle stuff
  • luacs1998 for pointing out Run Configuration arguments for previous versions of ForgeGradle
  • PaleoCrafter and SoniEx2 for mentioning authorList
  • A whole bunch of other people I forgot to mention

 

Visit the #ForgeGradle IRC channel on EsperNet for questions and discussion on ForgeGradle.

For a comprehensive list of mods, visit the MCF Modlist!

Posted

Thanks!

 

Now I need to make "one project per mod in the same workspace" work and modify the build.gradle file to work like I want it to and I'll be a happy camper. ;)

 

ItemBlock is not a Block

ItemStack is not an Item

Damage value is not metadata

 

Stop confusing them.

Posted
  Quote
As of the time of writing, ForgeGradle does not yet support deobfuscating Minecraft, and so none of the usual Minecraft source files are there.

 

Are you sure of this? O.o

That seems quite absurd to me, seeing as this is the official way to build and use forge as of the latest builds.

I'm quite sure they wouldn't release it if it where in such a useless state...

  Quote

If you guys dont get it.. then well ya.. try harder...

Posted
  On 11/22/2013 at 4:22 AM, Mazetar said:

  Quote
As of the time of writing, ForgeGradle does not yet support deobfuscating Minecraft, and so none of the usual Minecraft source files are there.

 

Are you sure of this? O.o

That seems quite absurd to me, seeing as this is the official way to build and use forge as of the latest builds.

I'm quite sure they wouldn't release it if it where in such a useless state...

The only mistake in that sentence (which luacs1998 has fixed) was saying deobfuscating instead of decompiling. At this point, ForgeGradle does not even decompile Minecraft, nor does it need to - you do not need access to Minecraft source code to run your mod.

For a comprehensive list of mods, visit the MCF Modlist!

Posted

They are working on an update where we can get a read-only access to the minecraft/forge source.

Lex mentioned it in the release post :)

  Quote

If you guys dont get it.. then well ya.. try harder...

Posted

Gradle Integration for Eclipse 03.4.0.RELEASE. won't install in eclipse right.

The following solutions are not available: Gradle Intergration for Eclipse

Posted

I'm locking this thread, people are going off topic.

Could a kind soul who is more experienced with ForgeGradle (AbrarSyed u.u) please create a "Common Problems and Solutions" thread please?

Read the EAQ before posting! OR ELSE!

 

  Quote
This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

  • 4 months later...
  • 1 month later...
Posted

Just followed the instructions to create a workspace. Needed to do the advanced setup.

'Run Client' is not working good. Client crashes. I followed the instructions like in the initial setup

This is the Log:

[21:07:32] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[21:07:32] [main/INFO] [FML]: Forge Mod Loader version 7.2.172.1073 for Minecraft 1.7.2 loading
[21:07:32] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
[21:07:32] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[21:07:32] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:07:32] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[21:07:34] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/pieter/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1073/forgeSrc-1.7.2-10.12.1.1073.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[21:07:34] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[21:07:34] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/pieter/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1073/forgeSrc-1.7.2-10.12.1.1073.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[21:07:34] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[21:07:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:07:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:07:35] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:07:37] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_25]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_25]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:1.7.0_25]
at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.7.0_25]
at java.lang.System.loadLibrary(Unknown Source) ~[?:1.7.0_25]
at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.0.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_25]
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.0.jar:?]
at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.0.jar:?]
at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.0.jar:?]
at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2690) ~[Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:40) ~[Main.class:?]
... 6 more

Coding, Testing, Smiling, Publishing!

Posted

Is there anyway somebody can tell me where these files are being installed to, since the download always hangs, and I can just go in and download and put them in the right locations myself.

  • 3 weeks later...
Posted

For anyone moving from FG for 1.6.4 to 1.7.2, the sonatype maven entry needs to be added after the forge maven entry in the buildscript section at the top:

 

        maven {
            name = "sonatype"
            url = "https://oss.sonatype.org/content/repositories/snapshots/"
        }

Posted

thank you for this; the advanced initial setup finally worked for me after battling all last night trying to get the "simple" version to work on my mac.  the only thing that's still going wrong is that i am not getting sound, but that's for another post; i think i saw something about that earlier.

 

something you might want to add to the tutorial, since we're now mostly modding 1.7:  in the arguments for the "run client" configuration, one needs to type

--version 1.7 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --accessToken Player1234

because 1.7 needs the access token, or the client will die.

Posted

One question, I followed all the steps using forge-1.6.4-9.11.1.964

 

It works, and Minecraft Launchs Ok. But my "src" folder is empty, it only has "main" and no net.minecraft files and folders showing.

 

Am I missing some step?

 

Thanks.

  • 3 weeks later...
Posted
  On 5/9/2014 at 7:12 PM, Casual Dutchman said:

Just followed the instructions to create a workspace. Needed to do the advanced setup.

'Run Client' is not working good. Client crashes. I followed the instructions like in the initial setup

This is the Log:

[21:07:32] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[21:07:32] [main/INFO] [FML]: Forge Mod Loader version 7.2.172.1073 for Minecraft 1.7.2 loading
[21:07:32] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
[21:07:32] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[21:07:32] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:07:32] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[21:07:34] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/pieter/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1073/forgeSrc-1.7.2-10.12.1.1073.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[21:07:34] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[21:07:34] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/pieter/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1073/forgeSrc-1.7.2-10.12.1.1073.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[21:07:34] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[21:07:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:07:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:07:35] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:07:37] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_25]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_25]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:1.7.0_25]
at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.7.0_25]
at java.lang.System.loadLibrary(Unknown Source) ~[?:1.7.0_25]
at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.0.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_25]
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.0.jar:?]
at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.0.jar:?]
at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.0.jar:?]
at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2690) ~[Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:40) ~[Main.class:?]
... 6 more

 

Did anybody ever find oyut how to fix this?

  • 4 weeks later...
Posted
  On 6/28/2014 at 12:15 PM, Aphex124 said:

  Quote

Just followed the instructions to create a workspace. Needed to do the advanced setup.

'Run Client' is not working good. Client crashes. I followed the instructions like in the initial setup

This is the Log:

[21:07:32] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[21:07:32] [main/INFO] [FML]: Forge Mod Loader version 7.2.172.1073 for Minecraft 1.7.2 loading
[21:07:32] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
[21:07:32] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[21:07:32] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:07:32] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[21:07:34] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/pieter/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1073/forgeSrc-1.7.2-10.12.1.1073.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[21:07:34] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[21:07:34] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/pieter/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1073/forgeSrc-1.7.2-10.12.1.1073.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[21:07:34] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[21:07:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:07:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:07:35] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:07:37] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_25]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_25]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:1.7.0_25]
at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.7.0_25]
at java.lang.System.loadLibrary(Unknown Source) ~[?:1.7.0_25]
at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.0.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_25]
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.0.jar:?]
at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.0.jar:?]
at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.0.jar:?]
at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2690) ~[Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:40) ~[Main.class:?]
... 6 more

 

Did anybody ever find oyut how to fix this?

 

I've updated the thread to address [iurl=#troubleshoot]troubleshooting problems[/iurl].

For a comprehensive list of mods, visit the MCF Modlist!

  • 3 weeks later...
  • 2 months later...
Posted

Hey, i have following error:

 

Matthiass-Mini:forge-1.7.10-10.13.2.1230-src MatthiasReef$ bash gradlew setupDecompWorkspace
Exception in thread "main" java.io.FileNotFoundException: /Users/MatthiasReef/.gradle/wrapper/dists/gradle-2.0-bin/5h57m9vra0mjv9qs45oqtsb5c0/gradle-2.0-bin.zip.lck (Permission denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49)
at org.gradle.wrapper.Install.createDist(Install.java:44)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)
Matthiass-Mini:forge-1.7.10-10.13.2.1230-src MatthiasReef$ bash gradlew eclipse
Exception in thread "main" java.io.FileNotFoundException: /Users/MatthiasReef/.gradle/wrapper/dists/gradle-2.0-bin/5h57m9vra0mjv9qs45oqtsb5c0/gradle-2.0-bin.zip.lck (Permission denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49)
at org.gradle.wrapper.Install.createDist(Install.java:44)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)
Matthiass-Mini:forge-1.7.10-10.13.2.1230-src MatthiasReef$ 

 

In everyone help me?

  • 1 month later...
Posted

I got this Problem Please Help Me

 

 

 

Exception in thread "main" java.lang.RuntimeException: Timeout of 120000 reached
waiting for exclusive access to file: C:\Users\Vergara\.gradle\wrapper\dists\gr
adle-2.0-bin\5h57m9vra0mjv9qs45oqtsb5c0\gradle-2.0-bin.zip
        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAcc
essManager.java:61)
        at org.gradle.wrapper.Install.createDist(Install.java:44)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)

  • 5 months later...
Posted

Hey, I've been trying to get this to work for over a week now, and I figured I should post and ask for some help.

 

What I'm trying to do is a little different than what this tutorial is for, in that I'm trying to contribute to a pre-existing mod, not create a new one. The mod in question is https://github.com/TechReborn/TechReborn, and while I got further using the "Advanced Initial Setup," I still can't get it working.

 

What I've done is download the TechReborn package from github, run gradle to update dependencies and such, and then tried to follow the other directions. Unfortunately I'm stuck with an error "Could not find or load main class net.minecraft.launchwrapper.Launch."

 

Is there some different process if I'm modifying an existing mod, instead of creating a new one?

  • 1 month later...
Posted

Hey guys, I've been having some problems trying to compile my mod. My mod is for version 1.7.10, and i tried compiling it using both "bash gradlew build" and "./gradlew build" (I use a mac). Both attempts failed due to this error:

 

* Where:

Build file '/Users/MinecraftModding/Desktop/SlayersToolbox/build.gradle' line: 21

 

* What went wrong:

Could not compile build file '/Users/MinecraftModding/Desktop/SlayersToolbox/build.gradle'.

> startup failed:

  build file '/Users/MinecraftModding/Desktop/SlayersToolbox/build.gradle': 21: expecting anything but ''\n''; got it anyway @ line 21, column 26.

    group= "com.slayer.main”

                              ^

 

  1 error

 

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Crash Report: https://mclo.gs/cqfHEI7 Latest.log: https://mclo.gs/1OLLfBs
    • I never thought I’d fall for it but I did. It all started with what seemed like a promising crypto investment opportunity I found through a popular social media platform. The project looked legitimate, with a sleek website, professional looking team profiles, and glowing testimonials. After doing what I thought was enough due diligence, I invested. First $5,000. Then $10,000. Over the next few months, I put in a total of $153,000. The returns were amazing on paper. My account showed massive gains, and I was told I could “withdraw soon.” But when I tried to cash out, I was hit with endless delays, excuses, and requests for additional “verification fees.” That’s when the panic set in: I realized I’d been scammed. I felt sick. Devastated. Embarrassed. After days of searching online, I came across Malice Cyber Recovery, a firm that specialized in tracing and recovering lost digital assets. I was skeptical at first I’d already lost so much, and I wasn’t ready to be taken advantage of again. But their team was incredibly professional and transparent from the start. They explained the recovery process in detail and didn’t make any unrealistic promises. They began with a full investigation, tracing the blockchain transactions and identifying the wallet addresses involved. Within a week, they had compiled enough evidence to begin their recovery strategy. It wasn’t easy and it wasn’t overnight but within a matter of weeks, I received the news I never thought I’d hear They had recovered my $153,000. I cried. Not just because I got my money back but because someone actually cared enough to help me. If you’ve fallen victim to a crypto scam, don’t suffer in silence. Malice Cyber Recovery gave me my life back and they just might be able to do the same for you  
    • Maximizing savings on  Temu  has never been easier! With the exclusive 70% Off Coupon Code [acu729640], you can enjoy unparalleled discounts on a vast array of trending products. This offer, coupled with fast delivery and free shipping across 67 countries, ensures that shoppers receive high-quality items at remarkably reduced prices. Exclusive  Temu  Coupon Codes for Maximum Savings Enhance your shopping experience by applying these verified Coupon Codes: acu729640 – Enjoy a 70% discount on your order. acu729640 – Receive an extra 30% off on select items. acu729640 – Benefit from free shipping on all purchases. acu729640 – Save $10 on orders exceeding $50. acu729640 – Unlock special discounts on newly launched products. What is the  Temu  70% Off Coupon Code [acu729640]? The 70% Off Coupon Code [acu729640] is a premier promotional tool that significantly reduces the cost of various products across  Temu 's extensive marketplace. Whether you are a first-time buyer or a returning customer, applying this Code at checkout guarantees exceptional discounts on categories such as apparel, electronics, home essentials, and more. How Does the 70% Off Coupon Code [acu729640] Work on  Temu ? Leveraging the 70% Off Coupon Code [acu729640] is effortless: Browse  Temu ’s diverse product range. Select and add desired items to your shopping cart. Enter [acu729640] at checkout. Instantly receive a 70% discount. Complete your transaction and enjoy expedited, reliable shipping. Is the  Temu  70% Off Coupon Code [acu729640] Legitimate? Absolutely! The  Temu  70% Off Coupon Code [acu729640] is an authentic and verified discount, actively used by thousands of savvy shoppers. Unlike misleading online offers, this Coupon is officially endorsed by  Temu , ensuring its seamless functionality across multiple product categories. Latest  Temu  Coupon Code 70% Off [acu729640] + Additional 30% Discount  Temu  continually updates its promotional lineup. In addition to the 70% Off Coupon Code [acu729640], customers can utilize to obtain an extra 30% discount on selected items. These stacked savings empower users to optimize their purchases and maximize financial benefits.  Temu  Coupon Code 70% Off United States [acu729640] For 2025 For customers residing in the United States, the  Temu  Coupon Code 70% Off [acu729640] remains a top-tier deal in 2025. Coupled with nationwide free shipping, this offer presents an unparalleled opportunity to secure premium products at a fraction of their original cost.  Temu  70% Off Coupon Code [acu729640] + Free Shipping In addition to receiving 70% off, users also enjoy complimentary shipping when applying the  Temu  70% Off Coupon Code [acu729640]. This combination of discounts and free shipping eliminates hidden costs, reinforcing  Temu ’s dedication to customer satisfaction and affordability. More Exclusive  Temu  Coupon Codes for Additional Savings Maximize your savings with these additional discount Codes: acu729640 – Unlock a 70% discount instantly. acu729640 – Avail extra savings for new users. acu729640 – Get free shipping on all orders. acu729640 – Enjoy bulk purchase discounts. acu729640 – Access exclusive markdowns on premium collections. Why Should You Use the  Temu  70% Off Coupon Code [acu729640]? Substantial savings across multiple product categories. Exclusive discounts for new and returning customers. Verified and legitimate Coupon Codes with immediate application. Complimentary shipping available across 67 countries. Expedited delivery and a seamless shopping experience. Final Note: Use The Latest  Temu  Coupon Code [acu729640] 70% Off The  Temu  Coupon Code [acu729640] 70% off offers an unparalleled opportunity to save significantly on high-quality products. Secure this deal now to maximize your benefits in July 2025. With the  Temu  Coupon 70% off, you can access exceptional discounts and unbeatable pricing. Apply the Code today and transform your shopping experience. Summary:  Temu  Coupon Code 70% Off  Temu  70% Off Coupon Code acu729640 70% Off Coupon Code acu729640  Temu   Temu  Coupon Code 70% Off United States 2025 Latest  Temu  Coupon Code 70% Off acu729640  Temu  70% Off Coupon Code legit How to use  Temu  70% Off Coupon Code Temu  70% Off Coupon Code free shipping Best  Temu  discount Codes 2025  Temu  promo Codes July 2025 FAQs About the  Temu  70% Off Coupon What is the 70% Off Coupon Code [acu729640] on  Temu ? The 70% Off Coupon Code [acu729640] is a promotional tool enabling shoppers to secure up to 70% savings on a vast selection of  Temu  products. How can I apply the  Temu  70% Off Coupon Code [acu729640]? To redeem the Coupon, simply add your chosen items to the cart, enter [acu729640] at checkout, and enjoy the automatic discount. Is the  Temu  70% Off Coupon Code [acu729640] available for all users? Yes! Both first-time and returning customers can leverage the 70% Off Coupon Code [acu729640] to access incredible savings. Does the 70% Off Coupon Code [acu729640] include free shipping? Yes! Applying [acu729640] at checkout not only provides a 70% discount but also ensures free shipping across applicable regions. Can the  Temu  70% Off Coupon Code [acu729640] be used multiple times? The validity and frequency of Coupon usage are subject to  Temu ’s promotional policies. Many users report success in applying the Coupon across multiple transactions, maximizing their overall savings potential.  
    • Temu Gutscheincode 100 € RABATT → [acu729640] für die USA im Juli  Spare riesig mit dem Temu Gutscheincode 100 € RABATT → [acu729640] im Juli 2025 Im Juli 2025 bringt Temu unglaubliche Rabatte für seine treuen Kunden mit einem exklusiven Gutscheincode (acu729640), der dir beeindruckende 100 € Rabatt auf deinen Einkauf gewährt. Egal, ob du Neukunde oder Stammkunde bist – du kannst bei einer riesigen Auswahl an Artikeln sparen, darunter Elektronik, Mode, Haushaltswaren und vieles mehr! Jetzt ist der perfekte Zeitpunkt, um satte Rabatte zu genießen und zu erleben, warum Temu eine der führenden globalen E-Commerce-Plattformen ist. Was macht Temu so besonders? Temu ist bekannt für eine riesige Auswahl an trendigen Produkten zu unschlagbaren Preisen. Von den neuesten Technik-Gadgets bis zu stylischer Kleidung und Haushaltsbedarf – hier findest du alles. Außerdem bietet Temu kostenlosen Versand in über 67 Länder, schnelle Lieferung und Rabatte von bis zu 90 % auf ausgewählte Produkte. Mit dem Gutscheincode (acu729640) erhältst du zusätzliche Rabatte! So verwendest du den Temu Gutscheincode (acu729640) im Juli 2025 So nutzt du das 100 €-Angebot mit dem Temu Gutscheincode (acu729640): Registrieren oder Einloggen bei Temu: Ob neu oder bereits Kunde – du musst dich anmelden oder ein Konto erstellen, um den Gutscheincode einzulösen. Durchstöbere die große Temu-Auswahl: Entdecke Temus umfangreiches Produktsortiment – von Haushaltsartikeln, Beauty-Produkten, Mode bis hin zu Hightech-Gadgets. Gutscheincode eingeben (acu729640): Gib den Code im Feld "Promo Code" beim Checkout ein, um die 100 € sofort abzuziehen. Zusätzliche Rabatte sichern: Neben den 100 € Rabatt gibt es bis zu 40 % Rabatt auf ausgewählte Artikel oder kombinierbare Gutscheinpakete. Bestellung abschließen: Überprüfe deinen Warenkorb und schließe die Bestellung ab – inklusive kostenlosem Versand in über 67 Länder! Warum du den Temu Gutscheincode (acu729640) verwenden solltest Der Temu Gutscheincode (acu729640) bietet viele Vorteile – egal ob Neukunde oder Bestandskunde: 100 € Rabatt für Neukunden: Spare 100 € bei deiner ersten Bestellung. 100 € Rabatt für Bestandskunden: Auch wiederkehrende Kunden profitieren mit acu729640 von 100 € Rabatt. 40 % zusätzlicher Rabatt: Auf ausgewählte Produkte gibt es bis zu 40 % zusätzlich. Gratisgeschenk für Neukunden: Neukunden erhalten ein kostenloses Geschenk beim Einsatz des Gutscheins. 100 € Gutscheinpaket: Spare noch mehr mit gebündelten Gutscheinen für Technik, Mode, Haushaltswaren und mehr. Temu Neukunden-Rabatte & Angebote Perfekt für Neueinsteiger! Als Neukunde bekommst du: 100 € Rabatt auf die erste Bestellung mit dem Code (acu729640). Kostenloser Versand in über 67 Länder. Exklusive Promo-Codes je nach Produktkategorie. Zusätzliche Temu Gutscheine speziell für Neukunden im Juli 2025. Temu Gutscheine für Bestandskunden Auch bestehende Kunden gehen nicht leer aus: 100 € Rabatt mit acu729640 auf die nächste Bestellung. 40 % Rabatt auf ausgewählte Produkte in vielen Kategorien. Gutscheinpaket für Bestandskunden, ideal für größere Einkäufe. Weitere Rabattcodes für beliebte Produkte und Aktionen. Neue Temu-Angebote im Juli 2025 Temu überrascht immer wieder mit frischen Angeboten. Im Juli 2025 gibt es: 100 € Rabatt für Neu- und Bestandskunden mit dem Code acu729640. Bis zu 40 % Rabatt auf Elektronik, Beauty, Deko und mehr. Neukunden-Coupons inklusive Gratisgeschenk und Sonderaktionen. Laufend neue Angebote den ganzen Juli über – regelmäßig reinschauen lohnt sich! Spare in verschiedenen Ländern & Kategorien mit Temu Gutscheinen Beispiele, wie Temu-Codes weltweit funktionieren: USA: 100 € Rabatt mit acu729640 auf Bestellungen in den USA. Kanada: Kanadier erhalten 100 € Rabatt bei Erst- oder Folgebestellung. UK: Auch britische Kunden sparen 100 € mit dem Code. Japan: Japanische Kunden erhalten 100 € Rabatt plus Sonderaktionen. Mexiko, Brasilien, Spanien, Deutschland: Bis zu 40 % Rabatt auf ausgewählte Artikel mit acu729640. Fazit Ob neu oder treu – der Temu Gutscheincode (acu729640) bringt dir im Juli 2025 satte Rabatte:  100 € sparen, 40 % auf ausgewählte Artikel und kostenloser Versand weltweit. Temu bietet großartige Preise, eine riesige Auswahl und jede Menge Aktionen. Jetzt zuschlagen: Code acu729640 im Warenkorb eingeben und sparen!  
  • Topics

×
×
  • Create New...

Important Information

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