Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

 

 

Um... learn Java...

-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
  • Author

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.

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.

BEFORE ASKING FOR HELP READ THE EAQ!

 

I'll help if I can. Apologies if I do something obviously stupid. :D

 

If you don't know basic Java yet, go and follow these tutorials.

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.

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.

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/

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...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.