-
Posts
140 -
Joined
-
Last visited
Posts posted by HoBoS_TaCo
-
-
Reflection can always bypass private modifiers.
Hmm i'm not too sure how to use reflection. Could you please explain how i'd use it in my situation? (Please excuse the nooby response, i'm not as nooby as I come off as.)
-
My mod in 1.2.5 extended the WorldType class just fine but now as I am trying to update to 1.3.1 I can't extend because WorldType is private.
1.3.1
private WorldType(int par1, String par2Str) { this(par1, par2Str, 0); } private WorldType(int par1, String par2Str, int par3) {
1.2.5
protected WorldType(int par1, String par2Str) { this(par1, par2Str, 0); } protected WorldType(int par1, String par2Str, int par3) {
Am I missing something or have I made nooby mistake? I can fix this by changing WorldType 1.3 to protected but its not an ideal fix. Any help would be appreciated.
ModLoader.addName() and addOverride do nothing.
in Support & Bug Reports
Posted
Good to know that i'm not the only one with this problem. I used the exact same code (.addName() and .addOverride) as 1.2.5, fml/mcp doesn't give me any errors and the image and name won't load. It seems the fml isn't picking up these overrides, for one item it used an image from minecraft's items.png. I'm using 3.0.20.251 for 1.3.1.
https://dl.dropbox.com/u/45513981/Images/2012-08-13_20.42.18.png[/img]
Hmm i'm gonna try forge build 181.