Started by
abelcaron
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I want to do a custom GUI and when I run my mouse over an item or a button that show me some informations ( text ).
Is it possible ?
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I want to do a custom GUI and when I run my mouse over an item or a button that show me some informations ( text ).
Is it possible ?
That is what you are looking for. Does MCreator not have this?
I don't know but i am a beginner in code so i don't understand that ^^
I will search
If you are a beginner I do recommend doing research and learning. To guide you in the right direction, this snippet should go in the render function where the last two parameters are provided.
When working on a "big" GUI. I recommend making a method in the GUI class that contains your tooltips. This saves time and keeps your GUI organized.
okay thank you i will learn more
tbrosky, where do I put the code you gave in the GUI's code?
This? This snippet would go in the render function in the GUI class. If you need more help, please post code--preferably in a pastebin/git.
This is my whole code, I don't see the "render" function...
https://pastebin.com/mASBydDR
tbroski Any idea? Please help!
Line 270
I did this and it doesn't work... help tbroski plzz
tbroski I did it it works!
Buuut there is one problem
First, the tooltip is not where I want it to be (above the biggest green bottle) and then I want the tooltip to be seen only if the player has its mouse ON the green bottle.
ehh you are a genious i tried so many times and i did'nt arrive to make something right
you did it with mcreator ?
Please don't post more than 1 post at the time because it spams.
I'm figuring out how to make the tooltip appear when our mouse is on a location.
Yes I did it with MCreator (because we are kinda in a MCreator forum lmao)