-
-
Save GoryMoon/869a5a9f203355fb3e89bbdd2c864ad1 to your computer and use it in GitHub Desktop.
Datapack JEI Information 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" | |
], | |
"infos": [ | |
"§4Only legacy coloring §aand styling §nworks for these", | |
"You can still use json text but no colors or styling will show", | |
{"translate":"item.minecraft.diamond","bold":true}, | |
[{"text": "Do this to color translations "},{"text":"§3"},{"translate":"item.minecraft.coal"}] | |
] | |
} |
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