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.

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

Featured Replies

Posted

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

  • Author

Sorry about that - I've switched those downloads for links to the GitHub repo, including the Block class(es).

Edited by turbodiesel4598

  • Author

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

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.