-
-
Save GoryMoon/381a9303a73b3a9bbc4db224a21b523d to your computer and use it in GitHub Desktop.
Datapack Tooltip Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"items": [ | |
"minecraft:diamond", | |
"minecraft:coal" | |
], | |
"tooltips": [ | |
{"text":"This ", "extra": [{"text":"is an","underlined":true},{"text":" Example ","color":"green"},{"text":"Tooltip","bold":true,"color":"green"}]}, | |
["",{"text":"This "},{"text":"is another ","italic":true,"color":"red"},{"text":"way to ","strikethrough":true},{"keybind":"key.attack"},{"text":" do it","bold":true,"underlined":true,"color":"dark_green"}], | |
{"translate":"item.minecraft.diamond","bold":true}, | |
"No special style also works", | |
"§4Legacy coloring §aalso works" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment