1.2 KiB
Tip #12 — Item-Rarity-Badges
Date: 2026-06-23
Category: visual
Source: MC-Survival Wiki Daily Tip (backfilled from state.json)
Note: Title was truncated in the original state.json log. Body matches the 'Search-Synonyms alias table' variant of the same idea.
Item-Rarity-Badges
Add a rarity enum (COMMON, UNCOMMON, RARE, EPIC, LEGENDARY) to the Item model, render a small colored badge next to every item name, and color-code search results by rarity. It solves the visual-flatness problem where every item in the wiki looks equally important, which is at odds with how Minecraft itself presents loot tiers. The signal is player expectation — vanilla Minecraft, mods, and pretty much every game wiki use a rarity color system because it lets players scan a list and immediately spot the high-value items. Five tiers and five colors is the right granularity: more, and the colors blur; fewer, and the signal is too coarse to be useful.
Implementation tips
- Add a rarity enum to the Item model: COMMON, UNCOMMON, RARE, EPIC, LEGENDARY.
- Render a small colored badge (gray/green/blue/purple/orange) next to the item name.
- Color-code search results by rarity — power users filter visually.