Posted December 11, 20222 yr Hello, I am very new to Forge and am having trouble implementing my idea. I wish to have a note item that, when the player right clicks with it in their hand, has a screen pop up with a message that is attached to the note item. The screen would be fairly simple, just a png for the background and the text. I am fairly sure I have the basics of overriding the InteractionResultHolder<ItemStack> function, but when I get to making and making and rendering the screen I am having issues, and have been unable to find sufficient resources online for this kind of thing. Any help is appreciated. Also I am new to this forum platform, so let me know if I did something wrong with the post. Thank you.
December 11, 20222 yr https://docs.minecraftforge.net/en/latest/gui/screens/ 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.
December 11, 20222 yr Author Thank you, but even following the Documentation is a little beyond me right now. Does anyone know of a good example to look at where someone has made a simple, non-interactable message box pop up? Thanks again.
December 11, 20222 yr Look at vanilla's ErrorScreen 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.
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.