Posted December 16, 20195 yr Hey everyone, I am getting this error: [18:30:23] [Client thread/WARN] [minecraft/ScreenManager]: Trying to open invalid screen with name: gocraft I have a literal headache trying to figure out why its throwing that error. Please excuse the messiness as I am going to clean up later. This is my container Spoiler https://github.com/GummyBlasian/Inventory-Power/blob/master/src/main/java/com/sangam1/InventoryRepair/GUI/Container/PCT_Container.java This is my screen Spoiler https://github.com/GummyBlasian/Inventory-Power/blob/master/src/main/java/com/sangam1/InventoryRepair/Screen/PCT_Screen.java This is my client proxy Spoiler https://github.com/GummyBlasian/Inventory-Power/blob/master/src/main/java/com/sangam1/InventoryRepair/proxy/ClientProxy.java This is my item Spoiler https://github.com/GummyBlasian/Inventory-Power/blob/master/src/main/java/com/sangam1/InventoryRepair/Item/item_portable_crafting.java I am able to have the item name show up and it shows in my hand, but when I right click it, I get that error. Anyone know why? And sorry its all on GitHub. Full Git: Spoiler https://github.com/GummyBlasian/Inventory-Power Thanks in advance!! -Edit- Here's also my registry: Spoiler https://github.com/GummyBlasian/Inventory-Power/blob/master/src/main/java/com/sangam1/InventoryRepair/Registry.java -Edit- Here's also my containers list: Spoiler https://github.com/GummyBlasian/Inventory-Power/blob/master/src/main/java/com/sangam1/InventoryRepair/References/ContainerList.java Solution: Something really stupid. I needed to add some annotations to being above: Spoiler public static final ContainerType<PCT_Container> PCT_CONTAINER = null; Edited December 16, 20195 yr by sangam1 Solved Have a problem? Same with me! I hate debugging did you know?
December 16, 20195 yr https://github.com/GummyBlasian/Inventory-Power/blob/master/src/main/java/com/sangam1/InventoryRepair/proxy/ClientProxy.java#L15 You need to register your screen, as you were trying to do here. Here's mine as an example: https://github.com/TheMikeste1/Wabbits/blob/master/src/main/java/themikeste1/wabbits/Wabbits.java#L102 It needs to be client-side, so as long as you're initializing your client proxy only on the client-side you should be good. Edited December 16, 20195 yr by TheMikeste1
December 16, 20195 yr Author 1 minute ago, TheMikeste1 said: https://github.com/GummyBlasian/Inventory-Power/blob/master/src/main/java/com/sangam1/InventoryRepair/proxy/ClientProxy.java#L15 You need to register your screen, as you were trying to do here. Here's mine as an example: https://github.com/TheMikeste1/Wabbits/blob/master/src/main/java/themikeste1/wabbits/Wabbits.java#L102 I tried that, but it still has that error. Here's a more detailed error log: Spoiler [22:02:09] [Client thread/INFO] [minecraft/GlDebugTextUtils]: OpenGL debug message, id=1283, source=API, type=ERROR, severity=HIGH, message=Error has been generated. GL error GL_STACK_OVERFLOW in (null): (ID: 173538523) Generic error [22:02:09] [Client thread/WARN] [minecraft/ScreenManager]: Trying to open invalid screen with name: gocraft [22:02:09] [Client thread/INFO] [minecraft/GlDebugTextUtils]: OpenGL debug message, id=1283, source=API, type=ERROR, severity=HIGH, message=Error has been generated. GL error GL_STACK_OVERFLOW in (null): (ID: 173538523) Generic error Have a problem? Same with me! I hate debugging did you know?
December 16, 20195 yr 21 minutes ago, sangam1 said: I tried that, but it still has that error. Hmm.. Okay. I poked around a little in your code, but I couldn't find where you were registering your container. Could you link that for me? Edit: I'm dumb. It's here: https://github.com/GummyBlasian/Inventory-Power/blob/master/src/main/java/com/sangam1/InventoryRepair/Registry.java#L61 Edited December 16, 20195 yr by TheMikeste1
December 16, 20195 yr Author I'm royally stuck on this one. ???? Have a problem? Same with me! I hate debugging did you know?
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.