Jump to content

[1.10.2/1.11.2] Can't open GUIs in 1.10.2, work fine in 1.11.2...


Recommended Posts

Posted (edited)

Hi there,

 

I'm developing a mod for 1.11.2. After a few requests, I decided to also make it available for 1.10.2, and I decided to do this by just copying all of my 1.11.2 source into a 1.10.2 environment. Obviously there were a few changes to be made, like replacing 'ItemStack.EMPTY' with 'null', ItemStack getters and setters, NonNullLists, etc., but now there are no errors and there are no crashes on startup/loading worlds, etc.

 

Everything works fine, except that, for some reason, I can not open any of my machine guis on right-clicking. It worked fine in 1.11.2, which I find odd. Were there any changes between 1.10 and 1.11 to guis or containers that I missed that could be causing this? Links to the classes that I suppose are important are below, but ask for anymore if you wish.

 

TileInventory.java

ContainerTile.java

GuiHandler.java

NuclearCraft.java

BlockManufactory.java

BlockProcessor.java

 

Thanks in advance.

 

 

 

 

Edited by turbodiesel4598
Switched out attached files for GitHub links
Posted

Right, thanks - I'll change that and give it a shot as soon as I can... but I'm still confused... why was there no issue in 1.11.2 when the code is, apart from the minor adjustments I referred to, exactly the same?

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.