Adding Your Own Tips
Tips are defined as translation keys prefixed with tip. inside a resource pack or the mod's language files. To add custom tips:
- Create (or edit) a resource pack with a language file at
assets/<namespace>/lang/en_us.json. - Add entries whose keys start with
tip.— every matching key is automatically registered as a tip:
{
"tip.mypack.diamonds": "Diamonds spawn most often between Y -50 and Y -64.",
"tip.mypack.beds": "Sleeping in a bed skips the night and resets your spawn point.",
"tip.mypack.shields": "Hold right-click with a shield to block incoming melee and arrows."
}
- Load the pack. The new tips join the rotation on the next loading screen.
Localization: add the same keys to other
langfiles (e.g.es_es.json,fr_fr.json) and the tip appears in that language when the player's game is set to it.