Skip to content

Condition Filter ​

Id: simple_storage_remastered:condition_filter

Filter items by traits like damaged, enchanted or food. Right click to choose the conditions. Every Required condition must match, no Excluded one may. — in-game tooltip

Recipe ​

Minecraft 1.21.1 · Crafting (shapeless)
Item FilterRedstone ComparatorLapis Lazuli
➜Condition Filter

What it does ​

Matches items by traits instead of by item type. Each of the nine conditions is Ignore, Required or Excluded. An item matches when it has every Required trait and none of the Excluded ones. A filter with no conditions set matches nothing.

ConditionMeaning (tooltip)
DamagedDamageable item that has lost durability
EnchantedHas enchantments, or stored enchantments like enchanted books
RenamedHas a custom name
StackableCan stack to more than 1 item
FoodCan be eaten
FuelCan be burned as furnace fuel
SmeltableCan be smelted in a furnace
BlockCan be placed as a block
Has contentsShulker box, bundle or other container that is not empty

Screen ​

Right-click with it in your hand. Click a condition to cycle it: "Click to cycle: Ignore, Required, Excluded". Green = Required, red = Excluded. Hover a condition for its description and "State: …".

The Condition Filter: green = Required, red = Excluded, with a tooltip for the Block trait.

The item's tooltip sums it up: "No conditions set", "Requires: …", "Excludes: …" or "Requires: … · Excludes: …".

Examples ​

GoalSetting
Chest for damaged tools to repairDamaged: Required
Enchanted gear and booksEnchanted: Required
Feed a furnace with anything that burns, except blocksFuel: Required, Block: Excluded
Everything you can eatFood: Required
Full shulker boxesHas contents: Required

Simple Storage Remastered is MIT licensed. Fork of Tom's Simple Storage by tom5454. Textures by Luna, used with permission. Not affiliated with Mojang.