Jump to content

[1.7.2] Unable to find any way to install forge on IntelliJ IDEA 13.0


Recommended Posts

Posted

I would like to see how much work i have to make StoneLineMod and StoneLineRoleplayEngine to work with Minecraft 1.7.2.

 

The problem is : No MCP 1.7.2, so how i can decompile Minecraft with forge 1.7.2 without MCP (I don't know the obfuscation algoryth Minecraft uses...) ! So is there a way to install forge 1.7.2 on IntelliJ IDEA 13.0 ?

Posted

Oh ! Its scala... Well, this plugin has never work on IntelliJ IDEA 13.0 Comunity Edition (for me) !

I think i will wait for MCP, Minecraft forge, MCPC + Server and at least all the mods i love (Smart Mouving, Render Player API, PlayerAPI, Archimedes Ships, Portal Gun, Grivity Gun, I chun util's mod, SG Craft, Optifine, Rei Minimap) to update for Minecraft 1.7.4 (not 1.7.2 because it crashing on Multiplayer screen, it gives Java has stopped working...) !

Posted

Seriously? You dont have to do anything with scala...

 

Just open a cmd window and direct it to where you extracted forge

 

Type: gradlew.bat setupDecompWorkspace idea

 

Once complete open the project it creates.

 

Java code goes in src/java

 

Resources go in src/resources

 

And that's about it.

 

I haven't heard of any problems with 1.7.2... If there is I'm sure they can be solved. But If your happy to wait. That's your decision.

The difference between stupidity and genius is that genius has its limits. - Albert Einstein

Posted

@BigDaveNz :

Thank you ; your answer great place is tutorials ! But I can't play Minecraft 1.7.2 in Multiplayer : when access to multiplayer screen i get :

- Minecraft client freeze for about 30 seconds

- Windows tell me : Java has stopped working, windows is searching a solution to the problem...

- After i have 2 options : click cancel or wait

- If cancel, all is closing (the JVM too)

- Wait is doing nothing : the client continue to display the loading cursor of windows, and the only way to close Minecraft is to destroy the process !

In plus i have many many problems with Minecraft :

- Sometimes no login to servers it gives a connection timed out about the login servers

- Sometimes Minecraft unrenders the world (yes you can say WTF ?!)

- Sometimes login to a server cause the game to freeze for 10 seconds and after it joins the server

- Minecraft 1.7.2 crash on multiplayer screen

- In some adventure maps, got crash and launcher tell me that Minecraft has generated a NullPointerException

- When you press the forward key, it mouve forward, but if you unpress sometimes the player don't stop going forward

- With Fraps now, Minecraft is blocking FPS at 60 !

All these bugs and problems had all comes up when i downloaded Minecraft 1.3 for the first time ! In 1.2.5 (or lower) no problems ; problems had began from the 1.3 of Minecraft !

I already tried to correct that, but i could not find any ways solving these isues !

 

For info that can't be my computer :

- Intel Core i7 3.7 Ghz

- 8 Gb RAM

- GTX 650 TI DirectCU 2 2Gb

- 4 hard disks (2 SATA and 2 IDE)

- 2 DVD ROM burner (1 SATA and 1 IDE)

- 1 750Mb ZIP drive (IDE, working correctly in Win 7)

- ASUS Motherboard

Computer compenents are not original (it was an empty computer tower)...

And Microsoft Windows 7 Ultimate 64 bits activated and legal (not cracked) !

Minecraft and Steam are not cracked too !

 

Thanks,

Yuri6037

  • 3 weeks later...
Posted

Solved !

My game was blocking it's FPS to 10 ! So LOL !

Now the 1.7.2 runs perfectly ! I'm downloading the new Forge 1.7.2 ; MCPC+ has in plus updated too !

Only problems : inventory has rendering bugs in this version, no one of my mods has updated...

 

About StoneLineMod updating, that will be very very very long : More than 1000 lines of code to change because of obfuscated methods&fields, no longer Item.**.itemID and no longer Block.**.blockID !

Posted

Big problem ! I tried what you said, the project has been created. When oppenned it in IntelliJIDEA 13.0, i get :

- Unresolvable import : "net.minecraft.init.Blocks"

- Unresolvable import : "cpw.mods.fml.common.Mod"

- Unresolvable import : "cpw.mods.fml.common.Mod.EventHandler"

- Unresolvable import : "cpw.cpw.mods.fml.common.event.FMLInitializationEvent"

 

And the other problem is that i have only one class in my src !

I give you the code of this only class...

ExampleMod

package com.example.examplemod;

import net.minecraft.init.Blocks;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;

@Mod(modid = ExampleMod.MODID, version = ExampleMod.VERSION)
public class ExampleMod
{
    public static final String MODID = "examplemod";
    public static final String VERSION = "1.0";
    
    @EventHandler
    public void init(FMLInitializationEvent event)
    {
	// some example code
        System.out.println("DIRT BLOCK >> "+Blocks.dirt.func_149739_a());
    }
}

 

Yuri6037

Posted

With forcing IntelliJ to launch the client, i got a super stack trace :

[10:50:10] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[10:50:10] [main/ERROR]: Unable to launch

java.lang.ClassNotFoundException: cpw.mods.fml.common.launcher.FMLTweaker

at java.net.URLClassLoader$1.run(URLClassLoader.java:202) ~[?:1.6.0_45]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.6.0_45]

at java.net.URLClassLoader.findClass(URLClassLoader.java:190) ~[?:1.6.0_45]

at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_45]

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) ~[?:1.6.0_45]

at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_45]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:104) ~[launchwrapper-1.9.jar:?]

at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_45]

at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_45]

at java.lang.Class.forName0(Native Method) ~[?:1.6.0_45]

at java.lang.Class.forName(Class.java:249) ~[?:1.6.0_45]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:97) [launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_45]

at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_45]

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) [idea_rt.jar:?]

 

Is that normal ?

Posted

@GotoLink

Thanks for saying, that's realy helping so much... Don't be stupid, you know that if i'm asking here it's because i tried many many things :

- Trying on 32bit Windows XP : same problem

- Trying on 64 bits Windows 7 : same problem

- Trying on Linux 64bits : same problem

All my computers (the windows server 2008 edition too) failed all to install Forge by gradlew 1.7.2 ! All these computers was running Java JDK and JRE 1.6 ! I've tried with all my computers... It only rest to try on Mac.

 

Anyway, i advanced a little on the problem :

My friend with the optical fibre and a very very laggy PC seams to run your gradlew without any problem... So it seams like your programm need optical fibre or good connection to work properly ; in effect in my friend computers more files is downloaded than on my...

Strange because i never had any issue with Multiplayer games (only S4League who is throwing you failed connect to the relay server) ; I have 8mb/s Download and 1mb/s Upload !

 

Posted

So you can provide a good api for advanced developper but you can't provide a good installer ?

 

There is a good installer.

 

For Eclipse.

 

You're off using InteliJ which is not actually supported by the Forge team, so you really don't have any grounds to complain.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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