Package net.minheur.potoflux.screen.tabs
Class Tabs
java.lang.Object
net.minheur.potoflux.screen.tabs.Tabs
Registry of the potoflux tabs
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SmartSupplier<Tab>The item of the account tab (AccountTab)static final SmartSupplier<Tab>The item of the home tab (HomeTab).static final SmartSupplier<Tab>static final SmartSupplier<Tab>The item of the settings tab (SettingsTab).static final SmartSupplier<Tab>The item of the terminal tab (TerminalTab). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(@NotNull RegisterTabsEvent event) Create the instance of the class, then add the tabs to the events.
This is called on the tab register event.
-
Field Details
-
HOME
The item of the home tab (HomeTab). -
ACCOUNT
The item of the account tab (AccountTab) -
TERMINAL
The item of the terminal tab (TerminalTab). -
MODS
-
SETTINGS
The item of the settings tab (SettingsTab).
-
-
Constructor Details
-
Tabs
public Tabs()
-
-
Method Details
-
register
Create the instance of the class, then add the tabs to the events.
This is called on the tab register event.- Parameters:
event- the event to register to
-