17 lines
471 B
Java
17 lines
471 B
Java
package net.minecraft.client.gui.components;
|
|
|
|
import net.fabricmc.api.EnvType;
|
|
import net.fabricmc.api.Environment;
|
|
|
|
@Environment(EnvType.CLIENT)
|
|
public interface TabOrderedElement {
|
|
/**
|
|
* Returns the tab order group of the GUI component.
|
|
* Tab order group determines the order in which the components are traversed when using keyboard navigation.
|
|
* <p>
|
|
* @return The tab order group of the GUI component.
|
|
*/
|
|
default int getTabOrderGroup() {
|
|
return 0;
|
|
}
|
|
}
|