Error when compiling EE3
Opened this issue ยท 19 comments
I get this error
When I manually add a minecraft folder, it deletes it, and then tells me there is no minecraft folder
[exec] public class TileCalcinator extends TileEE implements IInventory {
[exec] ^
[exec]
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\tileentit
y\TileCalcinator.java:156: error: method does not override or implement a method
from a supertype
[exec] @OverRide
[exec] ^
[exec]
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\client\gu
i\inventory\GuiGlassBell.java:51: error: cannot find symbol
[exec] this.mc.func_110434_K().func_110577_a(Textures.GUI_GLASS_BEL
L);
[exec] ^
[exec]
[exec] symbol: method func_110434_K()
[exec] location: variable mc of type Minecraft
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\tileentit
y\TileGlassBell.java:14: error: TileGlassBell is not abstract and does not overr
ide abstract method isStackValidForSlot(int,ItemStack) in IInventory
[exec] public class TileGlassBell extends TileEE implements IInventory {
[exec] ^
[exec]
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\tileentit
y\TileGlassBell.java:143: error: method does not override or implement a method
from a supertype
[exec] @OverRide
[exec] ^
[exec]
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\client\gu
i\inventory\GuiPortableCrafting.java:55: error: cannot find symbol
[exec] this.mc.func_110434_K().func_110577_a(Textures.GUI_PORTABLE_
CRAFTING);
[exec] ^
[exec]
[exec] symbol: method func_110434_K()
[exec] location: variable mc of type Minecraft
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\client\gu
i\inventory\GuiPortableTransmutation.java:37: error: cannot find symbol
[exec] this.mc.func_110434_K().func_110577_a(Textures.GUI_PORTABLE_
TRANSMUTATION);
[exec] ^
[exec]
[exec] symbol: method func_110434_K()
[exec] location: variable mc of type Minecraft
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\lib\Textu
res.java:26: error: cannot find symbol
[exec] public static final ResourceLocation VANILLA_BLOCK_TEXTURE_SHEET
= TextureMap.field_110575_b;
[exec]
^
[exec]
[exec] symbol: variable field_110575_b
[exec] location: class TextureMap
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\lib\Textu
res.java:27: error: cannot find symbol
[exec] public static final ResourceLocation VANILLA_ITEM_TEXTURE_SHEET
= TextureMap.field_110576_c;
[exec]
^
[exec]
[exec] symbol: variable field_110576_c
[exec] location: class TextureMap
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandOverlay.java:55: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.func_111
077_e(Commands.COMMAND_OVERLAY_TURNED_ON));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandOverlay
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandOverlay.java:62: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.func_111
077_e(Commands.COMMAND_OVERLAY_TURNED_OFF));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandOverlay
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandOverlay.java:77: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageCompon
ent.func_111077_e(Commands.COMMAND_OVERLAY_SCALE_UPDATED));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandOverlay
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandOverlay.java:100: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageCompon
ent.func_111077_e(Commands.COMMAND_OVERLAY_OPACITY_UPDATED));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandOverlay
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandOverlay.java:122: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.
func_111077_e(Commands.COMMAND_OVERLAY_POSITION_TOP_LEFT));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandOverlay
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandOverlay.java:127: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.
func_111077_e(Commands.COMMAND_OVERLAY_POSITION_TOP_RIGHT));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandOverlay
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandOverlay.java:132: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.
func_111077_e(Commands.COMMAND_OVERLAY_POSITION_BOTTOM_LEFT));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandOverlay
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandOverlay.java:137: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.
func_111077_e(Commands.COMMAND_OVERLAY_POSITION_BOTTOM_RIGHT));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandOverlay
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandParticles.java:47: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.func_111
077_e(Commands.COMMAND_PARTICLES_TURNED_ON));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandParticles
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandParticles.java:54: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.func_111
077_e(Commands.COMMAND_PARTICLES_TURNED_OFF));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandParticles
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandSounds.java:49: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.func_111
077_e(Commands.COMMAND_SOUNDS_SET_TO_ALL));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandSounds
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandSounds.java:56: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.func_111
077_e(Commands.COMMAND_SOUNDS_SET_TO_SELF));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandSounds
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandSounds.java:63: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.func_111
077_e(Commands.COMMAND_SOUNDS_TURNED_OFF));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandSounds
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\command\C
ommandVersion.java:43: error: cannot find symbol
[exec] commandSender.sendChatToPlayer(ChatMessageComponent.func_111
077_e(VersionHelper.getResultMessage()));
[exec] ^
[exec]
[exec] symbol: variable ChatMessageComponent
[exec] location: class CommandVersion
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\core\util
\ResourceLocationHelper.java:11: error: cannot find symbol
[exec] return new ResourceLocation(Reference.MOD_ID.toLowerCase
(), path);
[exec] ^
[exec]
[exec] symbol: class ResourceLocation
[exec] location: class ResourceLocationHelper
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\inventory
\ContainerAlchemicalBag.java:53: error: cannot find symbol
[exec] super.onContainerClosed(player);
[exec] ^
[exec]
[exec] symbol: method onContainerClosed(EntityPlayer)
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\inventory
\ContainerAlchemicalBag.java:50: error: method does not override or implement a
method from a supertype
[exec] @OverRide
[exec] ^
[exec]
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\inventory
\ContainerAlchemicalChest.java:68: error: cannot find symbol
[exec] super.onContainerClosed(entityPlayer);
[exec] ^
[exec]
[exec] symbol: method onContainerClosed(EntityPlayer)
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\inventory
\ContainerAlchemicalChest.java:65: error: method does not override or implement
a method from a supertype
[exec] @OverRide
[exec] ^
[exec]
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\inventory
\ContainerPortableCrafting.java:37: error: cannot find symbol
[exec] super.onContainerClosed(player);
[exec] ^
[exec]
[exec] symbol: method onContainerClosed(EntityPlayer)
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\inventory
\ContainerPortableCrafting.java:34: error: method does not override or implement
a method from a supertype
[exec] @OverRide
[exec] ^
[exec]
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\inventory
\ContainerPortableTransmutation.java:32: error: cannot find symbol
[exec] super.onContainerClosed(player);
[exec] ^
[exec]
[exec] symbol: method onContainerClosed(EntityPlayer)
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\inventory
\ContainerPortableTransmutation.java:29: error: method does not override or impl
ement a method from a supertype
[exec] @OverRide
[exec] ^
[exec]
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\inventory
\WorldSavedDataEE.java:22: error: WorldSavedDataEE is not abstract and does not
override abstract method isStackValidForSlot(int,ItemStack) in IInventory
[exec] public class WorldSavedDataEE extends WorldSavedData implements IInv
entory {
[exec] ^
[exec]
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\inventory
\WorldSavedDataEE.java:124: error: method does not override or implement a metho
d from a supertype
[exec] @OverRide
[exec] ^
[exec]
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\item\craf
ting\RecipesAlchemicalBagDyes.java:104: error: cannot find symbol
[exec] float[] dyeColorChannels = EntitySheep.fleeceCol
orTable[BlockColored.getBlockFromDye(currentStack.getItemDamage())];
[exec]
^
[exec]
[exec] symbol: variable BlockColored
[exec] location: class RecipesAlchemicalBagDyes
[exec] src\minecraft\Equivalent-Exchange-3\common\com\pahimar\ee3\item\craf
ting\RecipesPotions.java:20: error: cannot find symbol
[exec] private static CustomWrappedStack reagentGlowstoneDust = new Cus
tomWrappedStack(new ItemStack(Item.glowstone));
[exec]
^
[exec]
[exec] symbol: variable glowstone
[exec] location: class Item
[exec] src\minecraft\net\minecraft\src\ModLoader.java:632: warning: [deprec
ation] registerBlock(Block) in GameRegistry has been deprecated
[exec] GameRegistry.registerBlock(block);
[exec] ^
[exec]
[exec] src\minecraft\net\minecraft\src\ModLoader.java:643: warning: [deprec
ation] registerBlock(Block,Class<? extends ItemBlock>) in GameRegistry has been
deprecated
[exec] GameRegistry.registerBlock(block, itemclass);
[exec] ^
[exec]
[exec] 86 errors
[exec] 6 warnings
[exec] ==================
[exec]
[exec] !! Can not find server sources, try decompiling !!
[exec] Press any key to continue . . .
reobfuscate:
[exec] == MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) ==
[exec] "scalac" is not found on the PATH. Scala files will not be recompil
ed
[exec] # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renum
ber csv, astyle, astyle config
[exec] > Creating Retroguard maping files
[exec] > Creating Retroguard config files
[exec] !! Can not find client bins, try recompiling !!Press any key to cont
inue . . .
[exec]
[exec] !! Can not find server md5s !!
BUILD FAILED
C:\Users\brady\Documents\mcdev\source\Equivalent-Exchange-3\build.xml:63: C:\Use
rs\brady\Documents\mcdev\mcp\reobf\minecraft does not exist.
Total time: 9 seconds
C:\Users\brady\Documents\mcdev\source\Equivalent-Exchange-3>
I managed to reproduce the errors!
It really is the wrong mod version..
Either use the mcp/forge version for 1.6.2 or use commit 77c1560 for 1.5.2
The one time I got it to work, and I launched, it contained nothing from the mod
what is your setup?
the error suggests, that you're running it from the console and not eclipse?
As the build tutorial says, I cd to the directory if ee3 and run ./ant build and the error above is what I get
just wondering: did you decompile minecraft before building?
afaik the build script doesn't do that for you
Yeas, I fully installed MCP and minecraftforge src, then decompiled minecraft
wait you are using 0012ef3
and you did everything exactly as in pahimars readme (including version numbers)?
then there is your problem ;)
Although the latest "official" version is 1.5.2 the latest repo version is for 1.6.2
Here's the thing though I tried running with 1.6.2 of forge and Mcp, I got that to compile and produce the .class files. I then made a jar of that but when I loaded minecraft the mod contained nothing
Wait, why are you putting the ENTIRE repository into src/minecraft? Only the contents of common should go in.
Follow the instructions in the Readme, and use the latest version of Forge for MC 1.6.2.
that is what the readme told me. But if I do that then wont it not have any models or texturs
I have, I now hava a folder in reobf after running that script to generate it, and then I packed it into a jar. but when loaded up in minecraft, there are no blocks from the mod
what are you exactly doing?
if you're using ant (as the readme says) you'll get a fully packaged jar in mcdev/source/Equivalent-Exchange-3/Releases
When I used ./ant build I get the error I originally posted, but when I use the recompile, and reobfuscate scripts in the MCP folder I get a ee3 folder in reobf, when it finishes, and that's what I try to package
when using the scripts mcp provides you have to know what you are doing.
(Basically you have to package the result in the reobf folder and the resources folder in the same jar - watch pahimars let's mod videos if you need help)
when using ant you have to use the 1.5.2 version or you'll get the error you posted (I got exactly the same while reproducing it)