Mindful eating configuration

This commit is contained in:
oitsjustjose 2022-03-10 08:16:22 -06:00
commit 44da7a0564
8 changed files with 205 additions and 4 deletions

View file

@ -0,0 +1,24 @@
[client]
#If true, shows the hunger (and saturation if showSaturationHudOverlay is true) that would be restored by food you are currently holding
showFoodValuesHudOverlay = true
#If true, shows your food exhaustion as a progress bar behind the hunger bars
showFoodExhaustionHudUnderlay = false
#Alpha value of the flashing icons at their most visible point (1.0 = fully opaque, 0.0 = fully transparent)
#Range: 0.0 ~ 1.0
maxHudOverlayFlashAlpha = 0.65
#If true, health/hunger overlay will shake to match Minecraft's icon animations
showVanillaAnimationsOverlay = true
#If true, adds a line that shows your hunger, saturation, and exhaustion level in the F3 debug overlay
showFoodStatsInDebugOverlay = true
#If true, shows the hunger and saturation values of food in its tooltip while holding SHIFT
showFoodValuesInTooltip = true
#If true, shows the hunger and saturation values of food in its tooltip automatically (without needing to hold SHIFT)
showFoodValuesInTooltipAlways = true
#If true, shows estimated health restored by food on the health bar
showFoodHealthHudOverlay = true
#If true, shows your current saturation level overlayed on the hunger bar
showSaturationHudOverlay = true
#If true, enables the hunger/saturation/health overlays for food in your off-hand
showFoodValuesHudOverlayWhenOffhand = true

View file

@ -0,0 +1,88 @@
[general]
# Show protection as overlay over armor
# Available: true, false [default: true]
showProtection = true
# Show toughness as overlay over armor
# Available: true, false [default: true]
showToughness = true
# Show absorption as border around health
# Available: true, false [default: true]
showAbsorption = true
# Show health value text next to bar
# Available: true, false [default: true]
showHealthValue = false
# Show armor value text next to bar
# Available: true, false [default: true]
showArmorValue = false
# Show armor bar when armor is zero
# Available: true, false [default: false]
showArmorWhenZero = false
# Suffix type used for displaying armor values
# Available: SI, SCI, GER, ENG [default: SI]
suffix = "ENG"
# Show resistance as border around armor
# Available: true, false [default: true]
showResistance = true
# Enable custom health bar
# Available: true, false [default: true]
enableHealthBar = true
# Enable custom armor bar
# Available: true, false [default: true]
enableArmorBar = true
[general.debug]
# You don't want this to be on. Believe me
# Available: true, false [default: false]
debug = false
[representative]
# Number of pixels to show an absorption of 1
# Available: 0.0 ~ 200.0 [default: 0.25]
#Range: 0.0 ~ 200.0
absorption = 0.25
# Number of icons to show a protection of 1
# Available: 0.0 ~ 10.0 [default: 0.5]
#Range: 0.0 ~ 10.0
protection = 0.5
# Number of icons to show a armor toughness of 1
# Available: 0.0 ~ 10.0 [default: 0.5]
#Range: 0.0 ~ 10.0
toughness = 0.5
# Number of icons to show a resistance of 1
# Available: 0.0 ~ 10.0 [default: 2.0]
#Range: 0.0 ~ 10.0
resistance = 2.0
[textcolors]
# Color when armor = 25
# Available: 0x000000 ~ 0xffffff [default: 0xff8811]
armorEQ25 = "0xff8811"
# Color when armor > 25
# Available: 0x000000 ~ 0xffffff [default: 0xff3311]
armorGT25 = "0xff3311"
# Color when poisoned
# Available: 0x000000 ~ 0xffffff [default: 0x947818]
heartPoison = "0x947818"
# Color when armor < 25
# Available: 0x000000 ~ 0xffffff [default: 0x44ff11]
armorLT25 = "0x44ff11"
# Color when withered
# Available: 0x000000 ~ 0xffffff [default: 0x2b2b2b]
heartWither = "0x2b2b2b"
# Color of absorption
# Available: 0x000000 ~ 0xffffff [default: 0xffc300]
absorption = "0xffc300"
# Color when resistance > 5
# Available: 0x000000 ~ 0xffffff [default: 0x4c0000]
resistanceFull = "0x4c0000"
# Color of separator
# Available: 0x000000 ~ 0xffffff [default: 0x3d3d3d]
separator = "0x3d3d3d"
# Color when armor = 0
# Available: 0x000000 ~ 0xffffff [default: 0x3d3d3d]
armor0 = "0x3d3d3d"
# Color normal status
# Available: 0x000000 ~ 0xffffff [default: 0xff1313]
heart = "0xff1313"

13
config/diet-client.toml Normal file
View file

@ -0,0 +1,13 @@
[gui]
#The x-position of the GUI button
#Range: -10000 ~ 10000
buttonX = 126
#The y-position of the GUI button
#Range: -10000 ~ 10000
buttonY = -22
#True to add the Diet button to the inventory GUI, false otherwise
addButton = false
#The main text color for the GUI
textColor = "4210752"

View file

@ -1,4 +1,4 @@
#If true, enables the Mantle heart renderer, which stacks hearts by changing the color instead of vertically stacking them.
#Mod authors: this config is not meant for compatibility with your heart renderer, cancel the RenderGameOverlayEvent.Pre event and our logic won't run
extraHeartRenderer = true
extraHeartRenderer = false

View file

@ -0,0 +1,31 @@
#MindfulEating common configuration
[common]
[common.mode]
#Whether the buffs added by the Diet mod are enabled. Default: false
"Native Diet Buffs" = false
#The amount exhaustion is reduced by (if the above config is false). Default: 0.75
"Exhaustion Reduction" = 0.75
#Whether the saturation bonus is dependent on Diet's mechanics. If false, it will instead be based on the last food eaten. Default: false
"Proportional Diet" = false
#For multiple food groups, separate groups with a /, for example: fruits/vegetables.
[common."exhaustion sources"]
#The food group/s corresponding to the heal exhaustion source. Default: sugars
"Food Group - heal" = "sugars"
#The food group/s corresponding to the effect exhaustion source. Default: sugars
"Food Group - effect" = "sugars"
#The food group/s corresponding to the sprint exhaustion source. Default: vegetables
"Food Group - sprint" = "vegetables"
#The food group/s corresponding to the mine exhaustion source. Default: grains
"Food Group - mine" = "grains"
#The food group/s corresponding to the attack exhaustion source. Default: proteins
"Food Group - attack" = "proteins"
#The food group/s corresponding to the jump exhaustion source. Default: vegetables
"Food Group - jump" = "vegetables"
#The food group/s corresponding to the hurt exhaustion source. Default: proteins
"Food Group - hurt" = "proteins"
#The food group/s corresponding to the swim exhaustion source. Default: fruits
"Food Group - swim" = "fruits"

View file

@ -1913,7 +1913,7 @@
"Enable Shiny Dolphin" = true
[client.improved_tooltips]
"Shulker Box Require Shift" = false
"Shulker Box Require Shift" = true
"Shulker Box Use Colors" = true
"Attribute Tooltips" = true
"Enchanting Tooltips" = true
@ -1928,8 +1928,8 @@
"Food Compression Threshold" = 4
"Map Require Shift" = false
"Shulker Tooltips" = true
"Food Tooltips" = true
"Show Saturation" = true
"Food Tooltips" = false
"Show Saturation" = false
"Map Tooltips" = true
"Enchanting Stacks" = ["minecraft:diamond_sword", "minecraft:diamond_pickaxe", "minecraft:diamond_shovel", "minecraft:diamond_axe", "minecraft:diamond_hoe", "minecraft:diamond_helmet", "minecraft:diamond_chestplate", "minecraft:diamond_leggings", "minecraft:diamond_boots", "minecraft:shears", "minecraft:bow", "minecraft:fishing_rod", "minecraft:crossbow", "minecraft:trident", "minecraft:elytra", "quark:pickarang"]