1
Modloader 1.6.2 Decompile Fail Fix
hey everyone, whenever I have a clean version of 16.2, I decompile MCP, it works, then i remove the src folder, install modloader in the mcp/jars/versions/1.6.2 folder, when I decompile it works fully except I get this error:
http://gyazo.com/8567d21265dd3b241a0706672249822b
Click this link above
http://gyazo.com/8567d21265dd3b241a0706672249822b
Click this link above
20
I don't know how to reproduce the problem. So I don't have any way to find a fix. My suggestion is to find out where MCP thinks the library files should be and see if they're actually there.
:I Ok
The MCP scripts are missing the lwjgl library somehow... Same problem, just outside of eclipse now.
Any fix found?
Make sure you get all the lwjgl libraries on the build path. There's a util one too if I remember correctly.
Cuchaz
Cuchaz
I have all of em in, I also dont get errors anymore, but the recompile fails :I
cuchazGameblockNetwork
Ok the errors are:
40: The import org.lwjgl cannot be resolved
41: The import org.lwjgl cannot be resolved
1050: Mouse cannot be resolved
1054: Keyboard cannot be resolved
Looks like you need to add the lwjgl library to the build path in Eclipse. The library is in the jars/libraries folder in MCP, oddly enough.
EDIT: it removed the errors, but now when I recompile it does this:
===================================================================
ut does not exist
import org.lwjgl.input.Mouse;
^
src\minecraft\net\minecraft\src\MouseHelper.java:4: error: package org.lwjgl.ope
ngl does not exist
import org.lwjgl.opengl.Display;
^
src\minecraft\net\minecraft\src\Minecraft.java:262: error: cannot find symbol
private void startGame() throws LWJGLException
^
symbol: class LWJGLException
location: class Minecraft
src\minecraft\net\minecraft\src\Minecraft.java:451: error: cannot find symbol
private void func_110441_Q() throws LWJGLException
^
symbol: class LWJGLException
location: class Minecraft
src\minecraft\net\minecraft\src\Minecraft.java:505: error: cannot find symbol
private void loadScreen() throws LWJGLException
^
symbol: class LWJGLException
location: class Minecraft
src\minecraft\net\minecraft\src\GuiButton.java:3: error: package org.lwjgl.openg
l does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\RenderItem.java:4: error: package org.lwjgl.open
gl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\RenderItem.java:5: error: package org.lwjgl.open
gl does not exist
import org.lwjgl.opengl.GL12;
^
src\minecraft\net\minecraft\src\Render.java:3: error: package org.lwjgl.opengl d
oes not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\WorldRenderer.java:6: error: package org.lwjgl.o
pengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\RenderList.java:4: error: package org.lwjgl.open
gl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\Tessellator.java:8: error: package org.lwjgl.ope
ngl does not exist
import org.lwjgl.opengl.ARBVertexBufferObject;
^
src\minecraft\net\minecraft\src\Tessellator.java:9: error: package org.lwjgl.ope
ngl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\Tessellator.java:10: error: package org.lwjgl.op
engl does not exist
import org.lwjgl.opengl.GLContext;
^
src\minecraft\net\minecraft\src\ItemRenderer.java:3: error: package org.lwjgl.op
engl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\ItemRenderer.java:4: error: package org.lwjgl.op
engl does not exist
import org.lwjgl.opengl.GL12;
^
src\minecraft\net\minecraft\src\GuiNewChat.java:6: error: package org.lwjgl.open
gl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\RenderManager.java:6: error: package org.lwjgl.o
pengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\MapItemRenderer.java:4: error: package org.lwjgl
.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\CallableGLInfo.java:4: error: package org.lwjgl.
opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\CallableLWJGLVersion.java:4: error: package org.
lwjgl does not exist
import org.lwjgl.Sys;
^
src\minecraft\net\minecraft\src\CallableMouseLocation.java:4: error: package org
.lwjgl.input does not exist
import org.lwjgl.input.Mouse;
^
src\minecraft\net\minecraft\src\ClippingHelperImpl.java:4: error: package org.lw
jgl.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\EntityFootStepFX.java:3: error: package org.lwjg
l.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\EntityLargeExplodeFX.java:3: error: package org.
lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\EntityPickupFX.java:3: error: package org.lwjgl.
opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GLAllocation.java:13: error: package org.lwjgl.o
pengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiAchievements.java:4: error: package org.lwjgl
.input does not exist
import org.lwjgl.input.Mouse;
^
src\minecraft\net\minecraft\src\GuiAchievements.java:5: error: package org.lwjgl
.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiAchievements.java:6: error: package org.lwjgl
.opengl does not exist
import org.lwjgl.opengl.GL12;
^
src\minecraft\net\minecraft\src\GuiBeacon.java:6: error: package org.lwjgl.openg
l does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiBeaconButton.java:3: error: package org.lwjgl
.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiBrewingStand.java:3: error: package org.lwjgl
.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiButtonLanguage.java:3: error: package org.lwj
gl.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiButtonMerchant.java:3: error: package org.lwj
gl.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiButtonNextPage.java:3: error: package org.lwj
gl.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiChat.java:7: error: package org.lwjgl.input d
oes not exist
import org.lwjgl.input.Keyboard;
^
src\minecraft\net\minecraft\src\GuiChat.java:8: error: package org.lwjgl.input d
oes not exist
import org.lwjgl.input.Mouse;
^
src\minecraft\net\minecraft\src\GuiTextField.java:3: error: package org.lwjgl.op
engl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiChest.java:3: error: package org.lwjgl.opengl
does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiCommandBlock.java:5: error: package org.lwjgl
.input does not exist
import org.lwjgl.input.Keyboard;
^
src\minecraft\net\minecraft\src\GuiContainerCreative.java:7: error: package org.
lwjgl.input does not exist
import org.lwjgl.input.Keyboard;
^
src\minecraft\net\minecraft\src\GuiContainerCreative.java:8: error: package org.
lwjgl.input does not exist
import org.lwjgl.input.Mouse;
^
src\minecraft\net\minecraft\src\GuiContainerCreative.java:9: error: package org.
lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiContainerCreative.java:10: error: package org
.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL12;
^
src\minecraft\net\minecraft\src\InventoryEffectRenderer.java:5: error: package o
rg.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiCrafting.java:3: error: package org.lwjgl.ope
ngl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiCreateWorld.java:4: error: package org.lwjgl.
input does not exist
import org.lwjgl.input.Keyboard;
^
src\minecraft\net\minecraft\src\GuiCreateFlatWorldListSlot.java:3: error: packag
e org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiCreateFlatWorldListSlot.java:4: error: packag
e org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL12;
^
src\minecraft\net\minecraft\src\GuiSlot.java:3: error: package org.lwjgl.input d
oes not exist
import org.lwjgl.input.Mouse;
^
src\minecraft\net\minecraft\src\GuiSlot.java:4: error: package org.lwjgl.opengl
does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiDispenser.java:3: error: package org.lwjgl.op
engl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiEditSign.java:3: error: package org.lwjgl.inp
ut does not exist
import org.lwjgl.input.Keyboard;
^
src\minecraft\net\minecraft\src\GuiEditSign.java:4: error: package org.lwjgl.ope
ngl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiEnchantment.java:4: error: package org.lwjgl.
opengl does not exist
import org.lwjgl.opengl.GL11;
^
src\minecraft\net\minecraft\src\GuiEnchantment.java:5: error: package org.lwjgl.
opengl does not exist
import org.lwjgl.opengl.GL12;
^
src\minecraft\net\minecraft\src\GuiEnchantment.java:6: error: package org.lwjgl.
util.glu does not exist
import org.lwjgl.util.glu.Project;
^
100 errors
==================
== Recompiling server ==
> Cleaning bin
> Recompiling
- Done in 13.70 seconds
Druk op een toets om door te gaan. . .
cuchazGameblockNetwork
Ok the errors are:
40: The import org.lwjgl cannot be resolved
41: The import org.lwjgl cannot be resolved
1050: Mouse cannot be resolved
1054: Keyboard cannot be resolved
Looks like you need to add the lwjgl library to the build path in Eclipse. The library is in the jars/libraries folder in MCP, oddly enough.
thanks man, that resolved it!
GameblockNetwork
Ok the errors are:
40: The import org.lwjgl cannot be resolved
41: The import org.lwjgl cannot be resolved
1050: Mouse cannot be resolved
1054: Keyboard cannot be resolved
Looks like you need to add the lwjgl library to the build path in Eclipse. The library is in the jars/libraries folder in MCP, oddly enough.
I can't see any problems with it as the code is exactly the same as in 1.6.1. Can I see the exact error? Also @Slenderpy Why would you use Forge and then go to Modloader? You didn't make much sense There are still a lot of people who use Modloader, and "use forge" isn't exactly helpful in any way.
Hmm, U got skype or something that we can talk through, if so, add Blokkiesam please!
what do u meen by the exact error?
what do u meen by the exact error?
I'll add you on Skype now, What I mean by the exact error is can you post exactly what you get about line 40-41 and 1050 - 1054, not just that you error on that line.
U didnt added me yet? :I
Ok the errors are:
40: The import org.lwjgl cannot be resolved
41: The import org.lwjgl cannot be resolved
1050: Mouse cannot be resolved
1054: Keyboard cannot be resolved
Ok the errors are:
40: The import org.lwjgl cannot be resolved
41: The import org.lwjgl cannot be resolved
1050: Mouse cannot be resolved
1054: Keyboard cannot be resolved
First thing, before you use modloader use forge, just sayin.
bump
thanks! everything works except a couple of things, in Modloader.java at line 40 and 41, there are some unused imports and at line 1050 and 1054 there are erros with the mouse and keyboard. it says: Mouse can not be resolved and Keyboard can not be resolved
I haven't downloaded Modloader for 1.6.2, so I'm basing this off of 1.6.1 (I don't think Modloader changed at all so it shouldn't matter) - Line 40 and 41 import LWJGL's Keyboard and Mouse classes, which would explain the errors later on. Can you post those lines here?
Which lines? the import ones? or the ones with the errors?
Import lines:
40 import org.lwjgl.input.Keyboard;
41 import org.lwjgl.input.Mouse;
Error lines:
if (i < 0)
{
i += 100;
ERROR LINE flag = Mouse.isButtonDown(i);
}
else
{
ERROR LINE flag = Keyboard.isKeyDown(i);
}
Import lines:
40 import org.lwjgl.input.Keyboard;
41 import org.lwjgl.input.Mouse;
Error lines:
if (i < 0)
{
i += 100;
ERROR LINE flag = Mouse.isButtonDown(i);
}
else
{
ERROR LINE flag = Keyboard.isKeyDown(i);
}
antvenom made a tutorial on how to add it(http://www.youtube.com/watch?v=E7WfiKJr ... NHsnaWuTeg)
