Topic category: Help with Minecraft modding (Java Edition)
Hello ! I updated my mod to 1.15.2-forge , MCreator 2020.4 and now my mod that used to have "Chat boxes" bound to them won't open !
Here's how it's supposed to work :
1- You defeat the boss, it spawns a variant of them fallen on the ground.
2- When you right-click on them it is supposed to open a GUI with a image 256x256 pixels with some of the boss's text lines.
3- When you close their chat box after reading them, it dies and drop the loot and unlocks story events depending on which boss it is.
The problem is at the #2 : when right-clicked, it doesn't open the GUI. I did use an item to open it instead to test and it works fine. I think the game tries to open it to the mob, what can i do ???
Thanks in advance for any help. Don't be shy to ask for some clarification.
Please report the bug on GitHub, make sure to include a minimal reproducible example (your workspace is not this, minimal example), and follow all other rules. I will try to fix this before 2020.5 if it turns out it is a bug.
Okay Klemen ! I will try. But before, what specifically did you meant with "Minimal reproducible example" ?
Would that be okay if i put :
1- Create a GUI with some text and an image with 256x256 pixels
2- create a mob and put the trigger "On mob right-clicked" a procedure to open the GUI you just made
3- Test it
Like this ? or in some other way ?
hm, nevermind, i'll do something as i think i've understood from the rules : I will "recreate" the "mod element" in a new workspace to show off what should be checked.
I'll just have to recreate the boss without its attack since they don't matter, make that if it dies we can try to open the GUI. You might see my post sometime soon after i'm done.