kulalolk Posted September 2, 2014 Posted September 2, 2014 Hello, I'm trying to make a machine, kinda like a furnace for my mod. I've been working on this for a while and it's not going very well. Any help is appreciated! This is the error I'm having public EndericInfuser(InventoryPlayer inventory, TileEntityEndericInfuser tile_entity) { } //"Implicit super constructor BlockContainer() is undefined. Must explicitly invoke another constructor BlockClass: http://puu.sh/bhPMv/874b176234.txt GuiHandlerClass: http://puu.sh/bhPTL/a990f4833f.txt Quote
Mitchellbrine Posted September 2, 2014 Posted September 2, 2014 Um... learn Java... Quote -Mitchellbrine Minecraft can do ANYTHING, it's coded in Java and you got the full power of Java behind you when you code. So nothing is impossible. It may be freaking fucking hard though, but still possible If you create a topic on Modder Support, live by this motto: I don't want your charity, I want your information
kulalolk Posted September 2, 2014 Author Posted September 2, 2014 I know a bit of java, enough to do many things modding minecraft. The thing is, a friend who has been doing java for 6 years and codes just for the hell of it doesn't know what the problem is. I can't find the source of the error, neither can he. Quote
shieldbug1 Posted September 2, 2014 Posted September 2, 2014 Search it up on google, it will tell you. This message tells you EXACTLY what's wrong. This is not a Java Support forum, please go learn basic java elsewhere. Quote BEFORE ASKING FOR HELP READ THE EAQ! I'll help if I can. Apologies if I do something obviously stupid. If you don't know basic Java yet, go and follow these tutorials.
hugo_the_dwarf Posted September 2, 2014 Posted September 2, 2014 My guess is that it's your GUIs constructor public GuiMagicBase(TileEntityMagicBase tileEntity, EntityPlayer player) { super(new ContainerNull()); now ContainerNull() is my own container that I use for a placeholder because Idk how to null that field correctly so made my own empty container to use for GUIs that don't need an inventory. Quote Currently updating my Mod to 1.10.2 https://bitbucket.org/hugo_the_dwarf/riseoftristram2016/src?at=master
larsgerrits Posted September 2, 2014 Posted September 2, 2014 My guess is that it's your GUIs constructor public GuiMagicBase(TileEntityMagicBase tileEntity, EntityPlayer player) { super(new ContainerNull()); now ContainerNull() is my own container that I use for a placeholder because Idk how to null that field correctly so made my own empty container to use for GUIs that don't need an inventory. If you have a a GUI that doesn't have a inventory, return null in the getServerGuiElement method and call the openGui method client side. Quote Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
Recommended Posts
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.