OK, so this is hard to explain.
The default eclipse workspace that MCP provides for you is great. But it's a pain having to ignore all the files when pushing to GitHub. Is there a way that I can create a new project whilst still having everything work? I noticed that pahimar done this, but I can't figure it out. Any help is appreciated.
Thanks,
Rocker
So, I've seen people using build.xml more and more frequently.
I'm a little confused as to how you use it, or what it even does.
Anyone who could shed light on this subject, please do so
It won't.
public int getTabIconItemIndex() {
return ItemIds.OBSIDIAN_PEARL;
}
The method I want to use just needs the item ID, hence why I'm passing the ID of my custom item.
Not saying your way is wrong, just saying it's not the way I want to do it.
It should be working, if you look at net.minecraft.creativetab.CreativeTabs; that's how they do it, so I'm a little confused right now
So, I added a creative tab. But it seems like it's crashing. This is the crash log that I'm getting:
http://pastebin.com/q7F8DJhu
I have a repo where you can view the code:
https://bitbucket.org/SuitedSlime/morecraft/
Any help would be appreciated, thanks!
Hey,
So, I'm working on a mod...
Started out on windows, but switched over to Ubuntu last night. Now I can't run the client from inside of eclipse. Just get the following error:
2012-10-25 15:10:55 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.1.35.394 for Minecraft client:1.3.2, server:1.3.2 loading
2012-10-25 15:10:56 [iNFO] [sTDERR] java.lang.reflect.InvocationTargetException
2012-10-25 15:10:56 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-10-25 15:10:56 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2012-10-25 15:10:56 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2012-10-25 15:10:56 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:601)
2012-10-25 15:10:56 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.relaunchClient(FMLRelauncher.java:111)
2012-10-25 15:10:56 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.handleClientRelaunch(FMLRelauncher.java:26)
2012-10-25 15:10:56 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.main(Minecraft.java:2112)
2012-10-25 15:10:56 [iNFO] [sTDERR] at Start.main(Start.java:29)
2012-10-25 15:10:56 [iNFO] [sTDERR] Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
2012-10-25 15:10:56 [iNFO] [sTDERR] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1856)
2012-10-25 15:10:56 [iNFO] [sTDERR] at java.lang.Runtime.loadLibrary0(Runtime.java:845)
2012-10-25 15:10:56 [iNFO] [sTDERR] at java.lang.System.loadLibrary(System.java:1084)
2012-10-25 15:10:56 [iNFO] [sTDERR] at org.lwjgl.Sys$1.run(Sys.java:72)
2012-10-25 15:10:56 [iNFO] [sTDERR] at java.security.AccessController.doPrivileged(Native Method)
2012-10-25 15:10:56 [iNFO] [sTDERR] at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
2012-10-25 15:10:56 [iNFO] [sTDERR] at org.lwjgl.Sys.loadLibrary(Sys.java:81)
2012-10-25 15:10:56 [iNFO] [sTDERR] at org.lwjgl.Sys.<clinit>(Sys.java:98)
2012-10-25 15:10:56 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2423)
2012-10-25 15:10:56 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.fmlReentry(Minecraft.java:2122)
2012-10-25 15:10:56 [iNFO] [sTDERR] ... 8 more
Any help is much appreciated.