Fetches a keybinding and tracks it
Adds a new task to get executed every update tick
Clears up all click detectors and keybindings
Returns the enhance button of the first enhancement, or null if not found
Internal cleanup handler
Callback when the tooltip got closed
Can be used to update stuff like buttons which depend on how many crystals you have
Helper method to create the tooltip div
Appends the part to a given parent
Cleans up the whole div contents, also clears up keybindings
Helper method to track clicks on an element
Should return true if the part is active for the given entity