Is [item] of rarity [rarity]

Is [item] of rarity [rarity]. Procedure block in the item category. It gives back a true / false value.

Is item of rarity rarity ▾
Category
Item
Block type
Value block (plugs into another block)
Returns
True / false
Needs
Nothing extra
Works with
NeoForge 26.1.2NeoForge 1.21.1

Inputs

InputKindAccepts
itemPlug-in valueMCItem
rarityDropdownCOMMON, UNCOMMON, RARE, EPIC