nah i fixed it atm im making custom click gui and my current problem is that i made class which extends GuiButton so i have custom buttons by my likings etc etc and I added buttons to buttonList as I normally do inside of my ClickGui class which extends GuiScreen and now I am in problem when i click on button (any of those from that class for custom GuiButton) it is like if i had spammed 50 times in a row click on that button for some reason and I can figure out why does that happen. I acutally figured out it happens when i overrided actionPerformed method but i need to use it for my button clicks so i can set what is going to happen with gui when button is clicked ...Show example
managed to make it on my own now I have different problem as mentioned before ...Buttons are rendered @ net/minecraft/client/gui/GuiButton.java, if you still can't understand how to do this consider https://www.learnjavaonline.org/
Your problem is probably that everytime you are initializing a gui you are creating a new button, try clearing buttons list before adding any buttonsnah i fixed it atm im making custom click gui and my current problem is that i made class which extends GuiButton so i have custom buttons by my likings etc etc and I added buttons to buttonList as I normally do inside of my ClickGui class which extends GuiScreen and now I am in problem when i click on button (any of those from that class for custom GuiButton) it is like if i had spammed 50 times in a row click on that button for some reason and I can figure out why does that happen. I acutally figured out it happens when i overrided actionPerformed method but i need to use it for my button clicks so i can set what is going to happen with gui when button is clicked ...
Correct thank you very much for this literally 1 line which i forgot about. Do you have any like discord servers where people are activly talking about mcp and clients and are capable of helping ?Your problem is probably that everytime you are initializing a gui you are creating a new button, try clearing buttons list before adding any buttons
Don't really know any specific for this, but you can join wonderland where I and some other devs are usually online and if you ask someone'll usually try and helpCorrect thank you very much for this literally 1 line which i forgot about. Do you have any like discord servers where people are activly talking about mcp and clients and are capable of helping ?
Do you maybe know how can i make module buttons scrollable just like in rise for example because im making very similar gui like they haveDon't really know any specific for this, but you can join wonderland where I and some other devs are usually online and if you ask someone'll usually try and help
Get the mouse input using Mouse.getDWheel() and cut the space in which modules are shown using gl scissorDo you maybe know how can i make module buttons scrollable just like in rise for example because im making very similar gui like they have