Started by
Vilangeus666
on
Topic category: Help with Minecraft modding (Java Edition)
How to make the button invisible but clickable? I mean I want to make button not visible, but when player clicks somewhere where the button must be, it activates.
Edited by Vilangeus666 on Wed, 07/14/2021 - 19:20
I guess you just need to create empty (transparent) texture ^^
Toma400, To tell the truth, I dont know how it can help me. What shall I do with this empty texture??
Use it on your model. It will make your block exist, but it should not be visible in terms of texture.
Sadly, there's no button base in MCreator as far as I know, but you still can use your own model and procedures for it to work almost like button.
Oh, thanks, but you didn't understand me.. My bad..
I mean I have GUI with button and I want to make this button not visible but still useable
https://imgur.com/Ysbhfac
Ah, you are right, I thought about different button, hah.
So, unfortunately it is not possible, as far as I know :< maybe coding it could make it happen, but MCreator doesn't support custom GUIs buttons as of yet (on which I even made topic, so you can add your own comment to make it more likely to happen - Klemen commented it, so there's a chance he will see it :D here is the topic: Custom Buttons in MCreator | MCreator). With custom GUIs added, you could possibly do transparent texture for it and it could still be "clickable".
Maybe make an image of where the button would be in the gui then putting the button behind the image in the hierarchy? Idk if it would work but itll atleast hide it
TechTastic, that's sad, but it isn't work
Yeah, tried that too, button seem to be always on top :(
Hm strange
Any ideas?
There is a new mcreator version, but still no option to make button invivisble.. Nice.
maybe if you make so it so an overlay with very high place in the hierachy open when you open the gui
Sorry, but I didn't understand you