harrypotter Posted March 16, 2017 Share Posted March 16, 2017 Which class in the API would help me identify if I need to drink a stamina pot or not? I had a look through the API can't seem to find anything that will give me the result I'm looking for. Thanks. Quote Link to comment Share on other sites More sharing options...
Aiban Posted March 16, 2017 Share Posted March 16, 2017 Turn on configs from the settings and once you take a sip of stamina potion the config should change Quote Link to comment Share on other sites More sharing options...
Night Posted March 16, 2017 Share Posted March 16, 2017 What @Aiban said, I believe once you sip a stamina the game setting for stamina goes above 0. Quote Link to comment Share on other sites More sharing options...
Juggles Posted March 16, 2017 Share Posted March 16, 2017 If there is no config for it, then use colorPicker. Make sure you have data orbs active Quote Link to comment Share on other sites More sharing options...
Night Posted March 16, 2017 Share Posted March 16, 2017 8 minutes ago, Juggles said: If there is no config for it, then use colorPicker. Make sure you have data orbs active There definitely is a config, I want to say from memory it's 738 but I could be wrong. Quote Link to comment Share on other sites More sharing options...
Stimpack Posted March 16, 2017 Share Posted March 16, 2017 13 minutes ago, Night said: There definitely is a config, I want to say from memory it's 738 but I could be wrong. Yup there is a config. Currently it is 638. 2 Quote Link to comment Share on other sites More sharing options...
Valid Posted February 28, 2020 Share Posted February 28, 2020 (edited) On 3/16/2017 at 6:44 PM, Night said: There definitely is a config, I want to say from memory it's 738 but I could be wrong. On 3/16/2017 at 6:59 PM, Stimpack said: Yup there is a config. Currently it is 638. Config updated to: 1575. Example to check if Stamina potion is active goes as following as of date: public boolean isStaminaPotionActive() { return getConfigs().get(1575) > 0; } Edited February 28, 2020 by Valid 1 Quote Link to comment Share on other sites More sharing options...