blob: c890c70a9f5bfa0c49a279eb0fdac7a839e8971c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package dev.isxander.yacl3.api;
import dev.isxander.yacl3.gui.YACLScreen;
import net.minecraft.client.gui.components.tabs.Tab;
import net.minecraft.client.gui.navigation.ScreenRectangle;
/**
* Allows categories to provide custom tab windows that replaces the
* regular YACL options screen. The tabs at the top will remain visible,
* but you can now provide custom tab content for richer configurations.
* <p>
* Part of the GUI API: could change with minecraft updates and is not stable
*/
public interface CustomTabProvider {
Tab createTab(YACLScreen screen, ScreenRectangle tabArea);
}
|