Talk:Rarity

Using CSS-styled text instead of images for examples
Examples:

Oak Log Skeleton Skull Conduit Enchanted Golden Apple

Note that this may not look exactly like the text in-game due to subpixel anti-aliasing which is not used in Minecraft itself, and there's no standard or portable way to disable that via CSS, which is why I am hesitant to implement it. --AttemptToCallNil (report bug, view backtrace) 19:56, 27 June 2018 (UTC)


 * You can use the format-n classes for the formatting:
 * Oak Log Skeleton Skull Conduit Enchanted Golden Apple
 * You must enter 0.125em for each pixel instead of 4px. But unfortunately, there is no format-f class (IDK why), so you have to format manually (since you're an admin now, you may add this to MediaWiki:Common.css if you want to). – ItsPlantseed ⟨₰|₢⟩ 11:36, 28 June 2018 (UTC)


 * Majr@undefined Asking you since you were the one who added the format styles. Is there any reason why the  class is not present there? --AttemptToCallNil (report bug, view backtrace) 12:21, 28 June 2018 (UTC)


 * Because they were added for minetip, which uses format-f as the default style, so there was no need for a class. Should be easy enough to add it though. –Majr ᐸ Talk Contribs 08:04, 30 June 2018 (UTC)


 * The thing is, MediaWiki:Common.css does not share with mobile device. I can see why Majr didn't move them to MediaWiki:Gadget-site-styles.css, but considering they're not just for tooltip. – ItsPlantseed ⟨₰|₢⟩ 07:18, 30 June 2018 (UTC)

Bedrock and Minecraft Earth
In bedrock, the only items with different colors are music discs (cyan), enchanted books (yellow), golden apples (cyan), and enchanted golden apples (pink). Of those, only enchanted books show their color over the hotbar, and none show their color in an item frame or shulker box. Feel free to add this information to the page if you feel like documenting the state of bedrock - tryashtar (talk) 20:11, 22 January 2020 (UTC)


 * Yes, and there's a different designation of rarity $$, as described in the tappable article. This page is too java-centric and needs reorganizing.


 * Because Bedrock has a larger installed user base than Java, I think this wiki should document Bedrock features as a first priority, but that isn't likely to happen because new features show up in Java Edition first. ~ Amatulic (talk) 02:10, 30 January 2020 (UTC)

Listed items are incorrect.
"Enchanted armor, tools and weapons" is listed as uncommon, but every enchanted item I've seen that's not a book is cyan, aka "rare". Even a sharpness I wooden sword.

"elytra" is listed as rare, but unless it's enchanted it's yellow, aka "uncommon".

"challenge advancements" are listed as rare, but they're actually epic, even this wiki itself says so.

> The color of the header text in the notification depends on the advancement; normal and goal advancements have yellow header text, while challenge advancements have pink header text

118.209.1.152 11:05, 13 April 2020 (UTC)

Rename "Rarity" to something else
This definition of "rarity" isn't too intuitive, as it only refers to the tooltip color and often doesn't reflect the actual difficulty of getting the item. For example, diamonds have the "common" color and bottles of enchanting are "uncommon", despite the latter being renewable through trading. This system also isn't explained in-game and the "rarity" term only appears in code (if I'm not mistaken). Edits based off of this confusion like Special:Diff/1554045 and Special:Diff/1555444 seem to come up somewhat frequently.

I suggest to rename this page (or at least the infobox rows/parameters on Template:Item and the like) to something more intuitive, like "rarity color" or "tooltip color". – Sonicwave talk  06:20, 18 April 2020 (UTC)


 * . That name is extremely confusing, especially for the average reader. We've received many questions about it and I see it changed by IPs all the time. The "rarity" name isn't explained at all in-game. I'd prefer "tooltip color", "rarity color" is still an improvement. -PancakeIdentity (talk) 06:24, 18 April 2020 (UTC)
 * ; maybe "tooltip category".  Nixinova  T  C</b> </b> 08:38, 18 April 2020 (UTC)
 * . I agree. I also think the actual tooltip color should be stated on item pages instead of the tier (ex. White and Cyan instead of Common and Rare).--Minerpix17 (talk) 00:58, 9 July 2020 (UTC)
 * for "rarity color" - tryashtar (talk) 04:03, 31 July 2020 (UTC)

There's clear support for a move, but no consensus on a new title. Which should it be – tooltip color or rarity color?  Nixinova </b>  T </b>  C </b></b>  03:07, 20 September 2020 (UTC)
 * Personally I don't see the purpose of that "rarity" field at all. If it can't be used to describe the difficulty of obtaining the item (which is subjective anyway), well, why would the color of a tooltip be relevant to me as a player? Now that I know it doesn't actually mean how rare an item is, it has zero meaning to me. May as well say that the icon for blocks is a hexagon while the icon for pearls and orbs is a circle. ~ Amatulic (talk) 05:39, 20 September 2020 (UTC)

The color of an Ominous Banner is gold, as you can see from the item's NBT Tags.
It's described here as "orange" but it's "gold" in-game, as you can see in this image: https://i.ibb.co/Zd8m1dh/Inked2021-03-25-02-07-12-LI.jpg--198.7.62.204 00:15, 25 March 2021 (UTC)

About Ominous rarity
"Ominous" is not considered a rarity by the game (see net.minecraft.world.item.Rarity). It's a color that is applied via NBTs to the ominous banner (see net.minecraft.world.entity.raid.Raid#getLeaderBannerInstance: ChatFormatting.GOLD is expilcitly applied). As such, restrictions about where the rarity of an item is visible (explained in ) do not apply to the ominous banner. I think this is a valid reason to replace the Ominous table row with a paragraph explaining why "Ominous" is not a rarity. --MDLC01 12:27, 10 August 2022 (UTC)
 * I agree. I was just looking at this yesterday and was wondering why Ominous is in the table at all. The concept of Rarity exists in the Java source and it only has the 4 levels. In fact, we need to rename "Epic" as it's not what the official mappings call it. EDIT: apparently they have two Rarity classes one that says Epic and one that says Very Rare. I will leave it be. - AD OffKilter (talk) 14:46, 10 August 2022 (UTC)
 * net.minecraft.world.item.Rarity is what is used for the rarity of item stacks (net.minecraft.world.item.ItemStack#getRarity) and items (net.minecraft.world.item.Item#rarity), and it lists 4 rarities: COMMON, UNCOMMON, RARE and EPIC. net.minecraft.world.item.enchantment.Enchantment.Rarity is used for the rarity of enchantments, which has nothing to do with colors and simply corresponds to the probability of obtaining an enchantment in different situations. This article is about items and item stacks rarity, so Epic should be used. --MDLC01 19:59, 14 August 2022 (UTC)