Jump to content

MCP Forge Recompile problem


blackarchan

Recommended Posts

So when i install forge i get an error when it starts to compile:

src/minecraft/net/minecraft/src/EntityRenderer.java:1194: error: method dispatchRenderLast in class ForgeHooksClient cannot be applied to given types;
            ForgeHooksClient.dispatchRenderLast(var5, par1);
                            ^
  required: RenderGlobal,float
  found: int,int
  reason: actual argument int cannot be converted to RenderGlobal by method invocation conversion
src/minecraft/cpw/mods/fml/client/FMLClientHandler.java:406: error: cannot find symbol
        ((NetClientHandler)handler).fmlPacket131Callback(mapData);
                                   ^
  symbol:   method fmlPacket131Callback(Packet131MapData)
  location: class NetClientHandler
src/minecraft/cpw/mods/fml/client/FMLClientHandler.java:412: error: cannot find symbol
        NetClientHandler.setConnectionCompatibilityLevel(compatibilityLevel);
                        ^
  symbol:   method setConnectionCompatibilityLevel(byte)
  location: class NetClientHandler
src/minecraft/cpw/mods/fml/client/FMLClientHandler.java:418: error: cannot find symbol
        return NetClientHandler.getConnectionCompatibilityLevel();
                               ^
  symbol:   method getConnectionCompatibilityLevel()
  location: class NetClientHandler
src/common/cpw/mods/fml/common/network/FMLNetworkHandler.java:70: error: cannot find symbol
            handler.handleVanilla250Packet(packet);
                   ^
  symbol:   method handleVanilla250Packet(Packet250CustomPayload)
  location: variable handler of type NetHandler
src/common/cpw/mods/fml/common/network/FMLNetworkHandler.java:97: error: cannot find symbol
            EntityPlayer pl = netHandler.getPlayer();
                                        ^
  symbol:   method getPlayer()
  location: variable netHandler of type NetHandler
src/common/cpw/mods/fml/common/network/FMLNetworkHandler.java:120: error: cannot find symbol
                netLoginHandler.completeConnection("You don't have FML installed, you cannot connect to this server");
                               ^
  symbol:   method completeConnection(String)
  location: variable netLoginHandler of type NetLoginHandler
src/common/cpw/mods/fml/common/network/FMLNetworkHandler.java:132: error: cannot find symbol
                netLoginHandler.completeConnection(modKick);
                               ^
  symbol:   method completeConnection(String)
  location: variable netLoginHandler of type NetLoginHandler
src/common/cpw/mods/fml/common/network/FMLNetworkHandler.java:149: error: cannot find symbol
            netLoginHandler.completeConnection(null);
                           ^
  symbol:   method completeConnection(<null>)
  location: variable netLoginHandler of type NetLoginHandler
src/common/cpw/mods/fml/common/network/FMLNetworkHandler.java:153: error: cannot find symbol
            netLoginHandler.completeConnection("The server requires mods that are absent or out of date on your client");
                           ^
  symbol:   method completeConnection(String)
  location: variable netLoginHandler of type NetLoginHandler
src/common/cpw/mods/fml/common/network/FMLNetworkHandler.java:157: error: cannot find symbol
            netLoginHandler.completeConnection("Your client is not running a new enough version of FML to connect to this server");
                           ^
  symbol:   method completeConnection(String)
  location: variable netLoginHandler of type NetLoginHandler
src/common/cpw/mods/fml/common/network/FMLNetworkHandler.java:161: error: cannot find symbol
            netLoginHandler.completeConnection("There was a problem during FML negotiation");
                           ^
  symbol:   method completeConnection(String)
  location: variable netLoginHandler of type NetLoginHandler
src/common/cpw/mods/fml/common/network/FMLNetworkHandler.java:182: error: cannot find symbol
            netLoginHandler.completeConnection(kickReason);
                           ^
  symbol:   method completeConnection(String)
  location: variable netLoginHandler of type NetLoginHandler
src/minecraft/net/minecraft/src/ModLoader.java:267: error: cannot find symbol
        EntityRegistry.addSpawn(entityClass, weightedProb, min, max, spawnList, WorldType.base12Biomes);
                                                                                         ^
  symbol:   variable base12Biomes
  location: class WorldType
src/minecraft/net/minecraft/src/ModLoader.java:296: error: cannot find symbol
        EntityRegistry.addSpawn(entityName, weightedProb, min, max, spawnList, WorldType.base12Biomes);
                                                                                        ^
  symbol:   variable base12Biomes
  location: class WorldType
src/minecraft/net/minecraft/src/ModLoader.java:692: error: cannot find symbol
        EntityRegistry.removeSpawn(entityClass, spawnList, WorldType.base12Biomes);
                                                                    ^
  symbol:   variable base12Biomes
  location: class WorldType
src/minecraft/net/minecraft/src/ModLoader.java:715: error: cannot find symbol
        EntityRegistry.removeSpawn(entityName, spawnList, WorldType.base12Biomes);
                                                                   ^
  symbol:   variable base12Biomes
  location: class WorldType
src/minecraft/net/minecraft/src/ModLoader.java:791: error: cannot find symbol
            PacketDispatcher.sendPacketToPlayer(packet, (Player)handler.getPlayer());
                                                                       ^
  symbol:   method getPlayer()
  location: variable handler of type NetServerHandler
src/minecraft/net/minecraftforge/client/ModCompatibilityClient.java:72: error: cannot find symbol
        if (mngr.MUSIC_INTERVAL == 12000)
                ^
  symbol:   variable MUSIC_INTERVAL
  location: variable mngr of type SoundManager
src/minecraft/net/minecraftforge/client/ModCompatibilityClient.java:74: error: cannot find symbol
            mngr.MUSIC_INTERVAL = 6000;
                ^
  symbol:   variable MUSIC_INTERVAL
  location: variable mngr of type SoundManager
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:152: error: constructor Tessellator in class Tessellator cannot be applied to given types;
            tess = new Tessellator();
                   ^
  required: int
  found: no arguments
  reason: actual and formal argument lists differ in length
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:153: error: cannot find symbol
            tess.textureID = texture;
                ^
  symbol:   variable textureID
  location: variable tess of type Tessellator
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:172: error: cannot find symbol
        Tessellator.renderingWorldRenderer = true;
                   ^
  symbol:   variable renderingWorldRenderer
  location: class Tessellator
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:200: error: cannot find symbol
        Tessellator.renderingWorldRenderer = false;
                   ^
  symbol:   variable renderingWorldRenderer
  location: class Tessellator
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:206: error: cannot find symbol
        if (!block.isDefaultTexture && render.overrideBlockTexture == -1)
                  ^
  symbol:   variable isDefaultTexture
  location: variable block of type Block
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:208: error: cannot find symbol
            bindTexture(block.getTextureFile(), 0);
                             ^
  symbol:   method getTextureFile()
  location: variable block of type Block
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:214: error: cannot find symbol
        if (!block.isDefaultTexture && render.overrideBlockTexture == -1)
                  ^
  symbol:   variable isDefaultTexture
  location: variable block of type Block
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:249: error: cannot find symbol
            engine.bindTexture(engine.getTexture(item.getItem().getTextureFile()));
                                                               ^
  symbol:   method getTextureFile()
  location: class Item
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:273: error: cannot find symbol
                engine.bindTexture(engine.getTexture(item.getItem().getTextureFile()));
                                                                   ^
  symbol:   method getTextureFile()
  location: class Item
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:288: error: cannot find symbol
        engine.bindTexture(engine.getTexture(Item.itemsList[item.itemID].getTextureFile()));
                                                                        ^
  symbol:   method getTextureFile()
  location: class Item
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:370: error: cannot find symbol
        if (block != null && block.isBed(mc.theWorld, x, y, z, entity))
                                  ^
  symbol:   method isBed(WorldClient,int,int,int,EntityLiving)
  location: variable block of type Block
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:372: error: cannot find symbol
            int var12 = block.getBedDirection(mc.theWorld, x, y, z);
                             ^
  symbol:   method getBedDirection(WorldClient,int,int,int)
  location: variable block of type Block
src/minecraft/net/minecraftforge/client/ForgeHooksClient.java:398: error: cannot find symbol
        if (Tessellator.renderingWorldRenderer)
                       ^
  symbol:   variable renderingWorldRenderer
  location: class Tessellator
src/common/cpw/mods/fml/common/network/NetworkRegistry.java:202: error: cannot find symbol
        generateChannelRegistration(clientHandler.getPlayer(), clientHandler, manager);
                                                 ^
  symbol:   method getPlayer()
  location: variable clientHandler of type NetHandler
src/common/cpw/mods/fml/common/network/NetworkRegistry.java:231: error: cannot find symbol
            handleRegistrationPacket(packet, (Player)handler.getPlayer());
                                                            ^
  symbol:   method getPlayer()
  location: variable handler of type NetHandler
src/common/cpw/mods/fml/common/network/NetworkRegistry.java:235: error: cannot find symbol
            handleUnregistrationPacket(packet, (Player)handler.getPlayer());
                                                              ^
  symbol:   method getPlayer()
  location: variable handler of type NetHandler
src/common/cpw/mods/fml/common/network/NetworkRegistry.java:239: error: cannot find symbol
            handlePacket(packet, network, (Player)handler.getPlayer());
                                                         ^
  symbol:   method getPlayer()
  location: variable handler of type NetHandler
src/common/cpw/mods/fml/common/network/OpenGuiPacket.java:54: error: cannot find symbol
        EntityPlayer player = netHandler.getPlayer();
                                        ^
  symbol:   method getPlayer()
  location: variable netHandler of type NetHandler
src/common/cpw/mods/fml/common/network/OpenGuiPacket.java:55: error: cannot find symbol
        player.openGui(networkId, modGuiId, player.worldObj, x, y, z);
              ^
  symbol:   method openGui(int,int,World,int,int,int)
  location: variable player of type EntityPlayer
src/common/cpw/mods/fml/common/registry/GameRegistry.java:221: error: cannot find symbol
        WorldType.DEFAULT.addNewBiome(biome);
                         ^
  symbol:   method addNewBiome(BiomeGenBase)
  location: variable DEFAULT of type WorldType
src/common/cpw/mods/fml/common/registry/GameRegistry.java:226: error: cannot find symbol
        WorldType.DEFAULT.removeBiome(biome);
                         ^
  symbol:   method removeBiome(BiomeGenBase)
  location: variable DEFAULT of type WorldType
src/common/cpw/mods/fml/common/modloader/ModLoaderHelper.java:154: error: cannot find symbol
        player.openGui(helper.getMod(), id, player.worldObj, x, y, z);
              ^
  symbol:   method openGui(Object,int,World,int,int,int)
  location: variable player of type EntityPlayer
src/common/net/minecraftforge/common/DimensionManager.java:98: error: cannot find symbol
        MinecraftServer.getServer().worldTickTimes.put(id, new long[100]);
                                   ^
  symbol:   variable worldTickTimes
  location: class MinecraftServer
src/common/net/minecraftforge/common/DimensionManager.java:129: error: cannot find symbol
                provider.setDimension(dim);
                        ^
  symbol:   method setDimension(int)
  location: variable provider of type WorldProvider
src/common/net/minecraftforge/common/ForgeHooks.java:114: error: method getCurrentPlayerStrVsBlock in class EntityPlayer cannot be applied to given types;
             return player.getCurrentPlayerStrVsBlock(block, metadata) / hardness / 30F;
                          ^
  required: Block
  found: Block,int
  reason: actual and formal argument lists differ in length
src/common/net/minecraftforge/common/ForgeHooks.java:190: error: cannot find symbol
            return ((Item)obj).getTextureFile();
                              ^
  symbol:   method getTextureFile()
  location: class Item
src/common/net/minecraftforge/common/ForgeHooks.java:194: error: cannot find symbol
            return ((Block)obj).getTextureFile();
                               ^
  symbol:   method getTextureFile()
  location: class Block
src/common/net/minecraftforge/common/ForgeHooks.java:248: error: cannot find symbol
            result = var8.getPickBlock(target, world, x, y, z);
                         ^
  symbol:   method getPickBlock(MovingObjectPosition,World,int,int,int)
  location: variable var8 of type Block
src/common/net/minecraftforge/common/ForgeHooks.java:257: error: cannot find symbol
            result = target.entityHit.getPickedResult(target);
                                     ^
  symbol:   method getPickedResult(MovingObjectPosition)
  location: variable entityHit of type Entity
src/common/net/minecraftforge/common/ForgeHooks.java:333: error: cannot find symbol
        return block != null && block.isLadder(world, x, y, z);
                                     ^
  symbol:   method isLadder(World,int,int,int)
  location: variable block of type Block
src/common/net/minecraftforge/common/ForgeHooks.java:343: error: cannot find symbol
        player.captureDrops = true;
              ^
  symbol:   variable captureDrops
  location: variable player of type EntityPlayer
src/common/net/minecraftforge/common/ForgeHooks.java:345: error: cannot find symbol
        player.capturedDrops.clear();
              ^
  symbol:   variable capturedDrops
  location: variable player of type EntityPlayer
src/common/net/minecraftforge/common/ForgeHooks.java:346: error: cannot find symbol
        player.captureDrops = false;
              ^
  symbol:   variable captureDrops
  location: variable player of type EntityPlayer
src/common/net/minecraftforge/common/ForgeInternalHandler.java:16: error: cannot find symbol
            if (item != null && item.getItem().hasCustomEntity(item))
                                              ^
  symbol:   method hasCustomEntity(ItemStack)
  location: class Item
src/common/net/minecraftforge/common/ForgeInternalHandler.java:18: error: cannot find symbol
                Entity newEntity = item.getItem().createEntity(event.world, entity, item);
                                                 ^
  symbol:   method createEntity(World,Entity,ItemStack)
  location: class Item
src/common/net/minecraftforge/common/MinecartRegistry.java:100: error: cannot find symbol
        return getItemForCart(cart.getClass(), cart.getMinecartType());
                                                   ^
  symbol:   method getMinecartType()
  location: variable cart of type EntityMinecart
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
56 errors

This is from the logs

Im using Ubuntu 12.04 Forge 4.1.1.251 and MCP72

Please help

Link to comment
Share on other sites

So when i install forge i get an error when it starts to compile:

 

You're saying that you're both "installing" forge, AND "compiling".  Are you sure you're doing everything right, because if you're installing forge, all you should be doing is going to the forge folder and hit install.cmd.  Doing this will actually decompile and deobfuscate minecraft.  I'm assuming you meant to say you were installing and decompiling?  If so, then Lexmanos is right, but if you're hitting "compile.bat" in your mcp folder, then you're not installing it properly, you should go hit install.cmd in your forge folder. :-)

 

Good luck! :-D

Link to comment
Share on other sites

  • 2 weeks later...

I put the forge folder into mcp72 added bin and minecraft_server into the jars and hit install.sh into the forge folder.

It starts to install forge and other things and when its almost finish it starts compling itself i dont hit any compile.bat or anything...

Right. That's a good thing.

If it doesn't explicitly tell you there's a problem, then just wait for it to finish.

So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.

Link to comment
Share on other sites

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.