Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
Tips Wiki › Guides › Adding Your Own Tips

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:

  1. Create (or edit) a resource pack with a language file at assets/<namespace>/lang/en_us.json.
  2. 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."
}
  1. Load the pack. The new tips join the rotation on the next loading screen.

Localization: add the same keys to other lang files (e.g. es_es.json, fr_fr.json) and the tip appears in that language when the player's game is set to it.