Obscure Tooltips
Tooltip Filters
Filters are not registered as separate files – instead, they are written inline wherever they are needed:
"filter": {
"type": "obscure_tooltips:always"
}
Although filter fields are not arrays, you can still combine multiple filters using the aggregate types all_of, any_of, and none_of:
"filter": {
"type": "obscure_tooltips:all_of",
"terms": [
{
"type": "obscure_tooltips:<first_filter>"
},
{
"type": "obscure_tooltips:<second_filter>"
}
]
}
You can also nest aggregate filters inside one another to create more advanced filtering logic.
Always Filter
"filter": {
"type": "obscure_tooltips:always"
}
Never Filter
"filter": {
"type": "obscure_tooltips:never"
}
All Of Filter
"filter": {
"type": "obscure_tooltips:all_of",
"terms": []
}
Any Of Filter
"filter": {
"type": "obscure_tooltips:any_of",
"terms": []
}
None Of Filter
"filter": {
"type": "obscure_tooltips:none_of",
"terms": []
}
Item Or Tag Filter
"filter": {
"type": "obscure_tooltips:item",
"values": [
"minecraft:apple",
"#minecraft:planks"
]
}
Mod Filter
"filter": {
"type": "obscure_tooltips:mod",
"mods": [
"minecraft",
"aquamirae"
]
}
Enchantment Filter
"filter": {
"type": "obscure_tooltips:enchantment",
"any_enchantment": true,
"any_curse": true,
"enchantments": [
"Minecraft:fire_aspect"
]
}
Rarity Filter
"filter": {
"type": "obscure_tooltips:rarity",
"rarity": "epic"
}
NBT Filter
"filter": {
"type": "obscure_tooltips:nbt",
"nbt": "{test_tag:{sub_tag:1}}"
}
Property Filter
"filter": {
"type": "obscure_tooltips:property",
"has_foil": true
}