Chest Tracker

Chest Tracker

355k Downloads

Custom handling for Origin Realms

RuiNtD opened this issue · 2 comments

commented

The server Origin Realms uses a resource pack and custom names on all containers to allow for custom GUIs (even though they look the same as vanilla?). This causes a few issues with Chest Tracker:

  1. Chest data is always preserved. This can be disabled from the memory bank settings, but Origin Realms does still allow custom names on containers.
  2. All chests show their names in world, causing an annoying billboard GUI on all chests.

image

It would be nice if Chest Tracker could handle Origin Realms' containers. As far as I can tell, OR uses several 0 width characters before the name of the chest, then explicitly adds in the name of the container (whether renamed or default) at the end. This also happens with hoppers, furnaces, and shulker boxes; which don't even use a custom texture, but still has two invisible characters (no idea why) before their names. A potential solution could be to parse out all non-ASCII characters, then use a black list to detect default container names (Chest, Large Chest, Barrel, Item Hopper, Shulker Box, Furnace, Smoker, Blast Furnace)

commented

Had a look at the resource pack; it replaces certain characters (for example, Korean letters - try typing in chat) in the default font with the full container top-half textures. I'll add some filtering as an off-by-default option for custom names, though it won't be just ASCII to try and maintain as much language support as possible.

Mentioning #127 as a reminder

commented

Fixed in 2.3.0; it won't display non-renamed chests now. There's also filtering options if you have renamed something in an anvil.