The 1.16.4 Forg version did not provide a settings in the game, which provides a description of a configuration file (.minecraft/config/durabilityViewer.json).
The configuration file uses JSON format (key: value), key is the option in the configuration, and value is the content of the option.
For example, the format of the prompt configuration that everyone cares about most is as shown in Figure:
"DurabilityViewer.config.Warnmode" is the option name. From Warnmode, it can be seen that this option is used to configure warning mode.
(1) Options: optional (enumeration type), the first item above is 0, increase from top to bottom
(2) Key, Tooltip: MOD is used to find the indexes of related content, which can be ignored
(3)*Value: The current value of the option
(4) DefaultValue: The default value of this option
(5) Minvalue: The minimum value of this option
(6) MaxValue: The maximum value of this option
Except for the value with*, other options will automatically reset the game after the game restarts.
Name content option
Tooltipcolor
Tool prompt color 0-15
Mindurability
There is no longer than this durability (fixed durability value judgment)
1-1500
minpercent
Below this percentage has a sound (judgment based on the durability percentage of the tool)
1-100
setwindowtitle
Change the game window title
true/false
warnmode
How to warn when the items are almost damaged
0: No warning
1: Sound warning
2: The huge tool icon pops up at the same time the screen flashes red
3: Two ways are enabled at the same time
effectduration
The duration of warning prompts
FALSE: Just prompt once
true: Continue prompt
corner
HUD position
0: Next right
1: bottom left
2: Upper right
3: top left
showfreeslots
Display the remaining number of backpacks
true/faslse
percentvalues
Percent durability
true/false
armorhotbar
Armored durability display location
TRUE: Next to the fast column (two on the left, two rights)
FALSE: Screen corner (Corner position)
showdamagepercent
The percentage of damage to the durable value and the residual durable conversion display
0-100