get As
Retrieves the GUI instance associated with a given inventory, casting it to a specific type.
Return
The GuiBuilder instance associated with the given inventory, or null if not found.
Parameters
inventory
The inventory whose associated GUI is being retrieved and casted.