Hello guys ,
I Have a question for Gui in modding , cause i am trying to improve myself in it ,
For exemple, how can i show the potion effect In Game not when you open your inventory?
thx for thoses who will help
I Have a question for Gui in modding , cause i am trying to improve myself in it ,
For exemple, how can i show the potion effect In Game not when you open your inventory?
thx for thoses who will help
Create an account or sign in to comment.
6
1
Thank you ! it was just for testing
1
1
any other ways ?
1
I think its in InventoryEffectRenderer
and i will try this
Do you have another solution now that you know where they are stored :O ?
and i will try this
Do you have another solution now that you know where they are stored :O ?
1
I'm not sure what GUI potion effects are stored in, I guess it'd be inventory but I can't see it. Anyway, You could make a loop using
isPotionActive()
to see if it has X potion and then render it on screen, or have a poke around GuiContainer and any files using it and see if that reveals anything
isPotionActive()
to see if it has X potion and then render it on screen, or have a poke around GuiContainer and any files using it and see if that reveals anything
1
for example when you have speed , its wriiten that you have speed for 1 min in the corner of the screen , so you dont have go in your inventory