Topic category: Help with Minecraft modding (Java Edition)
I am making a mod where when you craft a custom item, and right-click on it, a GUI will appear allowing you to unban a person. (the reason for unban is because it is hardcore).
I am on Minecraft 1.18.2 and MCreator 2022.1
I get a -805306369 which includes this help link: https://bugs.mojang.com/browse/MC-23484
Problem:
When I right-click on the item, it will crash my game. It just freezes up and will not respond. This happens for both normal Minecraft, and the built-in testing window.
I thought it was an issue in "ReviveTotemRightClicked" where I had an infinite loop with true = true in for loop. I then replaced it with a while loop to wait until the process is done so it could remove the item. This ended up not working.
Should I try to update the software? I thought I did, but right now its on 2022.1.
Thank you for your time and for any help given.
Edit: The issue is the while loop and item stack, as soon as i remove that things start working.
yo i know im a few years late lmao but how did you make this? the images say image not found when i try and open them