Posted May 1, 20232 yr So I got the recipe book added and everything is working correctly, except that the book does not fully open and the main GUI doesn't slide over to make room for it. I've tried playing around with parameters for the sizing and whatnot to fix this, but no dice. I even went so far as to start over from scratch a few times to try to figure out where I messed up, and while I figured out other things along the way, it's still doing this. At this point I know I'm missing something and would like to know what I need to be checking. Edited May 2, 20232 yr by Warren Tode
May 1, 20232 yr We can't debug screenshots. You need to put the all relevant code on github. Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
May 1, 20232 yr Author 23 minutes ago, warjort said: We can't debug screenshots. You need to put the all relevant code on github. Okay, I understand. The question is, what exactly do you need to look at? I can just put the entire test mod up there.
May 1, 20232 yr We need enough to reproduce the problem, i.e. we should be able to build the mod and run the game. So the whole thing would be okay. Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
May 2, 20232 yr Author Sorry it took me so long to posting this. https://github.com/toadie-odie/TodeCoins/tree/1.2.4
May 2, 20232 yr Looks like a trivial issue to me? You are miscalculating the x position of the background. https://github.com/toadie-odie/TodeCoins/blob/e63ed9728c9aa222f5a09799fe7938bdd188e71b/src/main/java/net/warrentode/todecoins/gui/CoinPressScreen.java#L86 Compare your code with CraftingScreen which uses the value calculated based on whether the recipe book is displayed int x = leftPos; Edited May 2, 20232 yr by warjort Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
May 2, 20232 yr Author 1 hour ago, warjort said: Looks like a trivial issue to me? You are miscalculating the x position of the background. https://github.com/toadie-odie/TodeCoins/blob/e63ed9728c9aa222f5a09799fe7938bdd188e71b/src/main/java/net/warrentode/todecoins/gui/CoinPressScreen.java#L86 Compare your code with CraftingScreen which uses the value calculated based on whether the recipe book is displayed int x = leftPos; Yes, this fixed the problem completely. The devil is always in the details. Thank you.
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.