You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// value += arrowRight + Calculations.MakeFraction(playerProperties.heldFoodHealthEstimate, config.textSettings.estimatesItalic);
156
159
if (playerProperties.hasRegeneration)
157
160
value += arrowRight + Calculations.MakeFraction(playerProperties.regenerationHealth, config.textSettings.estimatesItalic);
158
-
if (playerProperties.isStarving)
161
+
if (playerProperties.isStarving && hasHunger)
159
162
value += arrowRight + Calculations.MakeFraction(playerProperties.starvationHealthEstimate, config.textSettings.estimatesItalic);
160
163
if (playerProperties.hasPoison)
161
164
value += arrowRight + Calculations.MakeFraction(playerProperties.poisonHealth, config.textSettings.estimatesItalic);
@@ -195,18 +198,18 @@ private void barText(){
195
198
value += minus + newTranslatableText(config.textSettings.useEmoji ? "text.onebar.fireEmoji" : "text.onebar.fire", playerProperties.burningMultiplier).getString();
196
199
if (playerProperties.isBurning && playerProperties.hasFireResistance && config.badThings.showFire)
197
200
value += minus + para + "m" + newTranslatableText(config.textSettings.useEmoji ? "text.onebar.fireEmoji" : "text.onebar.fire", playerProperties.burningMultiplier).getString() + para + "r";
198
-
if (playerProperties.hasHunger || (playerProperties.hasHungerEffect && config.healthEstimates))
201
+
if (hasHunger || (playerProperties.hasHungerEffect && config.healthEstimates && !config.disableHunger))
199
202
value += minus;
200
203
201
204
if (showHungerParentheses)
202
205
value += pStart;
203
-
if (playerProperties.hasHunger || (playerProperties.hasHungerEffect && config.healthEstimates))
206
+
if (hasHunger || (playerProperties.hasHungerEffect && config.healthEstimates && !config.disableHunger))
204
207
value += Calculations.MakeFraction(playerProperties.hunger, false);
205
-
if (playerProperties.hasHunger && playerProperties.saturation < 1 && config.badThings.showHungerDecreasing)
208
+
if (hasHunger && playerProperties.saturation < 1 && config.badThings.showHungerDecreasing)
206
209
value += arrowDown;
207
-
if (playerProperties.hasHungerEffect && config.healthEstimates)
210
+
if (playerProperties.hasHungerEffect && !config.disableHunger && config.healthEstimates)
208
211
value += arrowRight + Calculations.MakeFraction(playerProperties.hungerEffectEstimate, config.textSettings.estimatesItalic);
209
-
if (playerProperties.hasHunger && playerProperties.isHoldingFood && config.goodThings.heldFoodHungerBar)
212
+
if (hasHunger && playerProperties.isHoldingFood && config.goodThings.heldFoodHungerBar)
210
213
value += arrowRight + Calculations.MakeFraction(playerProperties.heldFoodHungerEstimate, config.textSettings.estimatesItalic);
"text.autoconfig.onebar.option.disableHunger.@Tooltip": "Peidab näljariba/-teksti, näljaefekti ja nälja tervise ennutuse jne",
13
15
"text.autoconfig.onebar.option.backgroundColor.@PrefixText": "Iga värvi ees on läbipaistmatuse väärtus kuueteistkümnendsüsteemis, vt abi saamiseks modi lehte",
0 commit comments