Jump to content

Recommended Posts

Posted

Hello,

I tried to install Forge sources for MCP multiple times and I always get the same error at the end: "100 errors. Server recompile failed, correct source and rerun updatemd5."

 

 

bleReplaceable(World,int,int,int) is already defined in class Block

    public boolean isGenMineableReplaceable(World world, int x, int y, int z)

                  ^

 

src\minecraft_server\net\minecraft\src\Block.java:1792: error: method getTexture

File() is already defined in class Block

    public String getTextureFile()

                  ^

 

src\minecraft_server\net\minecraft\src\Block.java:1803: error: method setTexture

File(String) is already defined in class Block

    public void setTextureFile(String texture)

                ^

 

src\minecraft_server\net\minecraft\src\ItemShears.java:9: error: forge.IShearabl

e is already defined in a single-type import

import net.minecraft.src.forge.IShearable;

^

 

src\minecraft_server\net\minecraft\src\Item.java:592: error: variable isDefaultT

exture is already defined in class Item

    public boolean isDefaultTexture = true;

                  ^

 

src\minecraft_server\net\minecraft\src\Item.java:593: error: variable currentTex

ture is already defined in class Item

    private String currentTexture = "/gui/items.png";

                  ^

 

src\minecraft_server\net\minecraft\src\Item.java:601: error: method addCreativeI

tems(ArrayList) is already defined in class Item

    public void addCreativeItems(ArrayList itemList)

                ^

 

src\minecraft_server\net\minecraft\src\Item.java:618: error: method onDroppedByP

layer(ItemStack,EntityPlayer) is already defined in class Item

    public boolean onDroppedByPlayer(ItemStack item, EntityPlayer player)

                  ^

 

src\minecraft_server\net\minecraft\src\Item.java:634: error: method onItemUseFir

st(ItemStack,EntityPlayer,World,int,int,int,int) is already defined in class Ite

m

    public boolean onItemUseFirst(ItemStack stack, EntityPlayer player, World wo

rld, int X, int Y, int Z, int side)

                  ^

 

src\minecraft_server\net\minecraft\src\Item.java:646: error: method getStrVsBloc

k(ItemStack,Block,int) is already defined in class Item

    public float getStrVsBlock(ItemStack itemstack, Block block, int metadata)

                ^

 

src\minecraft_server\net\minecraft\src\Item.java:655: error: method isRepairable

() is already defined in class Item

    public boolean isRepairable()

                  ^

 

src\minecraft_server\net\minecraft\src\Item.java:664: error: method setNoRepair(

) is already defined in class Item

    public Item setNoRepair()

                ^

 

src\minecraft_server\net\minecraft\src\Item.java:682: error: method onBlockStart

Break(ItemStack,int,int,int,EntityPlayer) is already defined in class Item

    public boolean onBlockStartBreak(ItemStack itemstack, int X, int Y, int Z, E

ntityPlayer player)

                  ^

 

src\minecraft_server\net\minecraft\src\Item.java:693: error: method onUsingItemT

ick(ItemStack,EntityPlayer,int) is already defined in class Item

    public void onUsingItemTick(ItemStack stack, EntityPlayer player, int count)

 

                ^

 

src\minecraft_server\net\minecraft\src\Item.java:707: error: method onLeftClickE

ntity(ItemStack,EntityPlayer,Entity) is already defined in class Item

    public boolean onLeftClickEntity(ItemStack stack, EntityPlayer player, Entit

y entity)

                  ^

 

src\minecraft_server\net\minecraft\src\Item.java:722: error: method getIconIndex

(ItemStack,int,EntityPlayer,ItemStack,int) is already defined in class Item

    public int getIconIndex(ItemStack stack, int renderPass, EntityPlayer player

, ItemStack usingItem, int useRemaining)

              ^

 

src\minecraft_server\net\minecraft\src\Item.java:747: error: method getRenderPas

ses(int) is already defined in class Item

    public int getRenderPasses(int metadata)

              ^

 

src\minecraft_server\net\minecraft\src\Item.java:756: error: method getTextureFi

le() is already defined in class Item

    public String getTextureFile()

                  ^

 

src\minecraft_server\net\minecraft\src\Item.java:771: error: method setTextureFi

le(String) is already defined in class Item

    public void setTextureFile(String texture)

                ^

 

src\minecraft_server\net\minecraft\src\Entity.java:173: error: variable customEn

tityData is already defined in class Entity

    private NBTTagCompound customEntityData;

                          ^

 

src\minecraft_server\net\minecraft\src\Entity.java:174: error: variable captureD

rops is already defined in class Entity

    protected boolean captureDrops = false;

                      ^

 

src\minecraft_server\net\minecraft\src\EntityItem.java:8: error: forge.ForgeHook

s is already defined in a single-type import

import net.minecraft.src.forge.ForgeHooks;

^

 

src\minecraft_server\net\minecraft\src\Entity.java:175: error: variable captured

Drops is already defined in class Entity

    protected ArrayList<EntityItem> capturedDrops = new ArrayList<EntityItem>();

 

                                    ^

 

src\minecraft_server\net\minecraft\src\Entity.java:238: error: method getEntityD

ata() is already defined in class Entity

    public NBTTagCompound getEntityData()

                          ^

 

src\minecraft_server\net\minecraft\src\Entity.java:251: error: method shouldRide

rSit() is already defined in class Entity

    public boolean shouldRiderSit()

                  ^

 

src\minecraft_server\net\minecraft\src\Entity.java:1874: error: method getNextId

() is already defined in class Entity

    public static int getNextId() {

                      ^

 

src\minecraft_server\net\minecraft\src\NetworkManager.java:16: error: forge.Forg

eHooks is already defined in a single-type import

import net.minecraft.src.forge.ForgeHooks;

^

 

src\minecraft_server\net\minecraft\src\NetworkManager.java:17: error: forge.Mess

ageManager is already defined in a single-type import

import net.minecraft.src.forge.MessageManager;

^

 

src\minecraft_server\net\minecraft\src\TileEntity.java:221: error: name clash: a

ddNewTileEntityMapping(Class<? extends TileEntity>,String) and addNewTileEntityM

apping(Class,String) have the same erasure

    public static void addNewTileEntityMapping(Class<? extends TileEntity> tileE

ntityClass, String id) {

                      ^

 

src\minecraft_server\net\minecraft\src\TileEntity.java:229: error: method canUpd

ate() is already defined in class TileEntity

    public boolean canUpdate()

                  ^

 

src\minecraft_server\net\minecraft\src\TileEntity.java:243: error: method onData

Packet(NetworkManager,Packet132TileEntityData) is already defined in class TileE

ntity

    public void onDataPacket(NetworkManager net, Packet132TileEntityData pkt){}

                ^

 

src\minecraft_server\net\minecraft\src\TileEntity.java:248: error: method onChun

kUnload() is already defined in class TileEntity

    public void onChunkUnload(){}

                ^

 

src\minecraft_server\net\minecraft\src\WorldProvider.java:5: error: forge.Dimens

ionManager is already defined in a single-type import

import net.minecraft.src.forge.DimensionManager;

^

 

src\minecraft_server\net\minecraft\src\Chunk.java:12: error: forge.ForgeHooks is

already defined in a single-type import

import net.minecraft.src.forge.ForgeHooks;

^

 

src\minecraft_server\net\minecraft\src\Explosion.java:10: error: forge.ISpecialR

esistance is already defined in a single-type import

import net.minecraft.src.forge.ISpecialResistance;

^

 

src\minecraft_server\net\minecraft\src\World.java:3902: error: method addTileEnt

ity(TileEntity) is already defined in class World

    public void addTileEntity(TileEntity entity)

                ^

 

src\minecraft_server\net\minecraft\src\World.java:3921: error: method isBlockSol

idOnSide(int,int,int,int) is already defined in class World

    public boolean isBlockSolidOnSide(int x, int y, int z, int side)

                  ^

 

src\minecraft_server\net\minecraft\src\Enchantment.java:188: error: method canEn

chantItem(ItemStack) is already defined in class Enchantment

    public boolean canEnchantItem(ItemStack item)

                  ^

 

src\minecraft_server\net\minecraft\src\BlockLeaves.java:280: error: method isShe

arable(ItemStack,World,int,int,int) is already defined in class BlockLeaves

    public boolean isShearable(ItemStack item, World world, int x, int y, int z)

 

                  ^

 

src\minecraft_server\net\minecraft\src\BlockLeaves.java:286: error: method onShe

ared(ItemStack,World,int,int,int,int) is already defined in class BlockLeaves

    public ArrayList<ItemStack> onSheared(ItemStack item, World world, int x, in

t y, int z, int fortune)

                                ^

 

src\minecraft_server\net\minecraft\src\BlockLeaves.java:294: error: method begin

LeavesDecay(World,int,int,int) is already defined in class BlockLeaves

    public void beginLeavesDecay(World world, int x, int y, int z)

                ^

 

src\minecraft_server\net\minecraft\src\BlockLeaves.java:300: error: method isLea

ves(World,int,int,int) is already defined in class BlockLeaves

    public boolean isLeaves(World world, int x, int y, int z)

                  ^

 

src\minecraft_server\net\minecraft\src\BlockContainer.java:65: error: method get

BlockEntity(int) is already defined in class BlockContainer

    public TileEntity getBlockEntity(int metadata)

                      ^

 

src\minecraft_server\net\minecraft\src\BlockFire.java:380: error: method canBloc

kCatchFire(IBlockAccess,int,int,int,int) is already defined in class BlockFire

    public boolean canBlockCatchFire(IBlockAccess world, int x, int y, int z, in

t face)

                  ^

 

src\minecraft_server\net\minecraft\src\BlockFire.java:401: error: method getChan

ceToEncourageFire(World,int,int,int,int,int) is already defined in class BlockFi

re

    public int getChanceToEncourageFire(World world, int x, int y, int z, int ol

dChance, int face)

              ^

 

src\minecraft_server\net\minecraft\src\MovingObjectPosition.java:31: error: vari

able subHit is already defined in class MovingObjectPosition

    public int subHit = -1;

              ^

 

src\minecraft_server\net\minecraft\src\ItemShears.java:113: error: method useIte

mOnEntity(ItemStack,EntityLiving) is already defined in class ItemShears

    public void useItemOnEntity(ItemStack itemstack, EntityLiving entity)

                ^

 

src\minecraft_server\net\minecraft\src\ItemShears.java:139: error: method onBloc

kStartBreak(ItemStack,int,int,int,EntityPlayer) is already defined in class Item

Shears

    public boolean onBlockStartBreak(ItemStack itemstack, int X, int Y, int Z, E

ntityPlayer player)

                  ^

 

src\minecraft_server\net\minecraft\src\NetworkManager.java:490: error: method ge

tNetHandler() is already defined in class NetworkManager

    public NetHandler getNetHandler()

                      ^

 

src\minecraft_server\net\minecraft\src\TileEntityBrewingStand.java:333: error: m

ethod getStartInventorySide(int) is already defined in class TileEntityBrewingSt

and

    public int getStartInventorySide(int side)

              ^

 

src\minecraft_server\net\minecraft\src\TileEntityBrewingStand.java:339: error: m

ethod getSizeInventorySide(int) is already defined in class TileEntityBrewingSta

nd

    public int getSizeInventorySide(int side)

              ^

 

src\minecraft_server\net\minecraft\src\StatBase.java:76: error: method getName()

is already defined in class StatBase

    public String getName() {

                  ^

 

src\minecraft_server\net\minecraft\src\WorldProvider.java:159: error: method get

SaveFolder() is already defined in class WorldProvider

    public abstract String getSaveFolder();

                          ^

 

src\minecraft_server\net\minecraft\src\WorldProvider.java:166: error: method get

WelcomeMessage() is already defined in class WorldProvider

    public abstract String getWelcomeMessage();

                          ^

 

src\minecraft_server\net\minecraft\src\WorldProvider.java:173: error: method get

DepartMessage() is already defined in class WorldProvider

    public abstract String getDepartMessage();

                          ^

 

100 errors

==================

 

Server recompile failed, correct source then rerun updatemd5

=================================== Minecraft Forge Setup Finished =============

====================

 

 

(Note: That's all the install.bat could show for the report).

Thanks by advance.

Posted

Thats not all it could show, you could get the full log.

Either way, you put forge into your jar didn't you -.- Dont, use a clean jar.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

The full log is printed to the console.

Increase your back buffer size

or pipe it to a file

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

You may need to try re-downloading the forge zip and running the forge install script again.

Other than that, I don't know what is wrong.

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

Posted

Ohh, goodness. Have you tried right-clicking the command prompt, choosing select all and using your standard keyboard shortcut for copying? (ctrl+c) :P

 

Gee, I'm not that bad in computers! I'm just not friendly with .bat files. The problem: there's so many lines in cmd.exe, he cannot show them all. What I need to do: make cmd.exe output ALL the lines or make it copy them in a .txt. This is what I have trouble to do, due to knowlege of batch being extremely low. So what should I add to the batch to make it write everything in a .txt ? So I can make a correct bug report.

Posted

Nothing to do with bat files.  How do you think that you would 'stream' the 'pipe' of stdout/stderr to a text file?

 

*Hint* There are nice google searchable terms above that you can search for.

  • 4 weeks later...
Posted

Problem got solved, I updated minecraft client and server, downloaded the latest forge sources and worked with no trouble. Thanks for the help anyway.

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.