Posted March 2, 20223 yr I am trying to create a custom GUI for a block in my mod. When I right click on the block I get this error "Failed to create screen for menu type: handheld_inventions:essence_conveter". Help me fix this. The git repo is here.
March 3, 20223 yr Author Is that not done in the client/event/ClientModEvents clientSetup? Also I made some dumb mistakes in the first post fixed them now but the error still exists. Edited March 3, 20223 yr by awesomedude3595
March 3, 20223 yr 51 minutes ago, awesomedude3595 said: Is that not done in the client/event/ClientModEvents clientSetup? yeah should, please post full log
March 3, 20223 yr Author 1 hour ago, diesieben07 said: You have two MenuTypes, one called "essence_converter" (has a screen, otherwise unused) and one called "essence_conveter" (no screen registered, used for your Menu). What do you mean by this? Is it to do with not using enqueueWork also how do I use the enqueueWork. I have tried using it a couple of ways but it still gives the same error, this might be to do with having 2 MenuTypes if so how do I fix this?
March 3, 20223 yr Author wait nvm I see the duplicate menu type. Edited March 3, 20223 yr by awesomedude3595
March 3, 20223 yr Author now it loads the screen but it just flashes then disappears. Any idea what might cause that?
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.