ChestTracker
ChestTracker copied to clipboard
fix label rendering
i can't say it is very pretty code, but it fixes #196 :3
the label will render in front of the chest
i can confirm that this works with chests, shulker boxes & barrels. shulker boxes sometimes don't have their labels update when blocks are placed on top, but barrels and chests do so 🤷🏼♀️ shulkers must have some funny logic
Converted to draft to merge new repo changes into the feature. It is also planned to make this toggable-able.
Will wait for the new setting code to get on the PR before anything, but a couple thoughts on the previous ver:
Some containers might not have a FACING or FACING_HORIZONTAL value to offset from (none in vanilla that I know, but some mods might). A fallback might be just having it in the center of the block. (v1 behavior)
Might be worth having an Enum option instead, where the options are above (default), in front (with center as fallback), or in the center