Custom Tooltips
Customize and create your own Tooltips for any item
Description
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.
What means Verified?
- Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
- Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
- Security: The mod should not contain any malicious code or attempts to steal personal information.
- Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
- Originality: The mod should be original and not a copy of someone else's work.
- Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
- Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
- License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
- Documentation: The mod should come with clear and detailed documentation on how to install and use it.
How to Install
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.