mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-05-04 16:34:14 +00:00

We have several items (e.g. ComputerItem), which only exist for their custom tooltip implementation. We remove these, and replace them vanilla-style component-based tooltips (TooltipProvider). The implementation here is a little janky — as the vanilla list of components is hard-coded, and neither mod loader offers a way to extend it. For now we just use the generic mod-loader tooltip hook — this probably would be easier with a mixin, but let's do things Properly. It would be nice to fully remove DiskItem (we only keep this around for doesSneakBypassUse), but that can be a future task.