Skip to content

Using Compact Tooltip Rules

Axia edited this page Jun 30, 2024 · 8 revisions

Doormat contains 5 settings to compress the visual appearances of certain hefty-looking item tooltips in the game. These settings can be enabled client-side, without needing Doormat installed on the server.


Enchantments

Setting compactEnchantTooltips to true compacts all item enchantments to one line by listing them as a cycling carousel, the index of which is added at the beginning of the line. The carousel wraps back around to the top when it gets to the end, and it updates once every second:

+ 5/8: Unbreaking III
- Mending
- Depth Strider III
- Soul Speed III
- Thorns III
- Unbreaking III
- Feather Falling IV
- Curse of Binding
- Protection IV

If you would prefer to have something a little more visually-appealing, you can also set the rule to bar, which doesn't affect the enchantment line. Instead it adds a progress bar underneath, like this:

+ Unbreaking III
+ □□□□■□□□ (5/8)
- Mending
- Depth Strider III
- Soul Speed III
- Thorns III
- Unbreaking III
- Feather Falling IV
- Curse of Binding
- Protection IV

The dots in the progress bar are colored to show you whether the enchantment at that position is positive or cursed. It would certainly have pride of place in a large mining project where you know the enchantments you have on your 60 diamond pickaxes, and don't like the long list that flashes up when you hover over them!


Banners

compactBannerTooltips allows you to enable a cycling carousel for banners! This works in exactly the same way as compactEnchantTooltips so I needn't explain this too much, but here are some examples:

true:
+ 3/6: White Bordure Indented
- White Chevron
- Purple Paly
- White Bordure Indented
- Yellow Pale
- White Bordure
- Purple Roundel

bar:
+ White Bordure Indented
+ □□■□□□ (3/6)
- White Chevron
- Purple Paly
- White Bordure Indented
- Yellow Pale
- White Bordure
- Purple Roundel

The banner pattern used here is from user Brobec on planetminecraft!


Armor Trims

Setting compactTrimTooltips to true compacts armor trim information to one line by removing the Upgrade: text at the top, and conjoining the pattern and material info which usually spans two lines:

+ Amethyst Coast Armor Trim
- Upgrade:
-  Coast Armor Trim
-  Amethyst Material

If you want an even more compact appearance, you can set the rule to only_pattern, which retains the material color formatting and removes the material text itself. This is unadvised for the visually-impaired or colorblind:

+ Coast Armor Trim
- Upgrade:
-  Coast Armor Trim
-  Amethyst Material

Smithing Templates

Enabling compactTemplateTooltips removes the unnecessary extra lines after the template's type:

Coast Armor Trim
-
- Applies to:
-  Armor
- Ingredients:
-  Ingots & Crystals

All of this information is provided in the smithing table itself, so there's no real drawback to removing it. As always, you can leave this off if it's not for you!


Decorated Pots

Setting compactPotTooltips to true compacts the sherd information by collecting like sherds together and tracking the quantities:

+ Heart x2
+ Archer
+ Blank
- Heart Pottery Sherd
- Archer Pottery Sherd
- Brick
- Heart Pottery Sherd

If you think listing blank sides is too obvious, you can set the rule to ignore_bricks. This completely excludes them from the tooltip logic, listing only sherds:

+ Heart x2
+ Archer
- Heart Pottery Sherd
- Archer Pottery Sherd
- Brick
- Heart Pottery Sherd

Clone this wiki locally