Make your own Tooltips via Json Files in the Config Folder.
Intended for modpacks.
To better understand the structure of the files the mod generates an example File on Startup.
Here are some basics:
If you want your own Default Settings the structure of the JSON must be the following:
{ "default":{
"color": "green",
"state": "replace"
},
"tooltips": [
//write your tooltips here
]
}
In the default settings you can define the default color and the default position where the tooltips are added, optionally you can replace existing tooltips. These attributes can also be defined individiually in every tooltip.
If you don't want to set your own Default Settings just write the array:
[
//write your tooltips here
]
<span style="font-family: arial, helvetica, sans-serif;"> </span>
The structure of every single tooltip has a targeted item, or item tag and a text component:
{
"item": "minecraft:diamond",
"text": {"tooltip": "write your text here"}
},
for more complex tooltips you can set the "text" field as an array to have different colors in your tooltip:
{
"tag": "minecraft:planks",
"text": [
{"tooltip_line": "Complex tooltip", "color": "blue"},
{"tooltip": "Tooltip", "color": "#ff7029"}
],
"state": "top"
}
With "tooltip_line" the following tooltip will be one line below.
With color you can specify an RGB code or alternativly some colors can be written.
No files available for download.