diff options
Diffstat (limited to 'src/main/java/dev/isxander/yacl3/gui/tab/TabExt.java')
-rw-r--r-- | src/main/java/dev/isxander/yacl3/gui/tab/TabExt.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/dev/isxander/yacl3/gui/tab/TabExt.java b/src/main/java/dev/isxander/yacl3/gui/tab/TabExt.java new file mode 100644 index 0000000..1b4b3e5 --- /dev/null +++ b/src/main/java/dev/isxander/yacl3/gui/tab/TabExt.java @@ -0,0 +1,14 @@ +package dev.isxander.yacl3.gui.tab; + +import net.minecraft.client.gui.GuiGraphics; +import net.minecraft.client.gui.components.Tooltip; +import net.minecraft.client.gui.components.tabs.Tab; +import org.jetbrains.annotations.Nullable; + +public interface TabExt extends Tab { + @Nullable Tooltip getTooltip(); + + default void tick() {} + + default void renderBackground(GuiGraphics graphics) {} +} |