1

Question for Gui's

Spect99's Avatar Spect9911/9/13 11:54 am
1 emeralds 351 6
11/11/2013 4:14 am
Spect99's Avatar Spect99
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
Posted by Spect99's Avatar
Spect99
Level 43 : Master Droid
46

Create an account or sign in to comment.

6

1
11/11/2013 4:14 am
Level 43 : Master Droid
Spect99
Spect99's Avatar
Thank you ! it was just for testing
1
11/09/2013 2:24 pm
Level 58 : Grandmaster Programmer
GamersMods
GamersMods's Avatar
1
11/09/2013 2:13 pm
Level 43 : Master Droid
Spect99
Spect99's Avatar
any other ways ?
1
11/09/2013 12:56 pm
Level 43 : Master Droid
Spect99
Spect99's Avatar
I think its in InventoryEffectRenderer
and i will try this
Do you have another solution now that you know where they are stored :O ?
1
11/09/2013 12:42 pm
Level 57 : Grandmaster Programmer
bmanrules
bmanrules's Avatar
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
1
11/09/2013 12:24 pm
Level 43 : Master Droid
Spect99
Spect99's Avatar
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
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome