Interface TitleBar.TitleBarProxy
- All Known Subinterfaces:
TFileExplorerPanel.FileExplorerPanelProxy
- Enclosing class:
- TitleBar
public static interface TitleBar.TitleBarProxy
An
interface
that provides valuable methods that define
what happens when given events take place within the TitleBar
.-
Method Details
-
getTitle
@Nullable @Nullable net.minecraft.text.Text getTitle()Returns theText
that should be shown on theTitleBar
. -
getIcon
-
canMinimize
default boolean canMinimize() -
canRestore
default boolean canRestore() -
canClose
default boolean canClose() -
onMinimize
default void onMinimize() -
onRestore
default void onRestore() -
onClose
default void onClose()
-