T - The type of the configpublic abstract class AbstractConfigScreen<T extends IConfig<T>>
extends net.minecraft.client.gui.Screen
| Modifier and Type | Field and Description |
|---|---|
protected ConfigManager<T> |
manager
The config manager.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConfigScreen(net.minecraft.client.gui.Screen parent,
java.lang.String title,
ConfigManager<T> manager)
Creates a config screen.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
buttonClicked(net.minecraft.client.gui.widgets.Button arg) |
protected abstract ConfigOption<?>[] |
getOptions(T config)
The list of options that will be shown to the user when this screen is displayed.
|
void |
init() |
void |
render(int i,
int j,
float f) |
getClipboardContents, init, isPauseScreen, keyPressed, method_130, method_135, mouseClicked, mouseReleased, onClose, onKeyboardEvent, onMouseEvent, renderBackground, renderBackground, renderDirtBackground, tick, updateServerprotected final ConfigManager<T extends IConfig<T>> manager
protected AbstractConfigScreen(net.minecraft.client.gui.Screen parent,
java.lang.String title,
ConfigManager<T> manager)
parent - The parent screentitle - The title of the screenmanager - The config managerprotected abstract ConfigOption<?>[] getOptions(T config)
config - The configConfigOptionpublic void init()
init in class net.minecraft.client.gui.Screenprotected void buttonClicked(net.minecraft.client.gui.widgets.Button arg)
buttonClicked in class net.minecraft.client.gui.Screenpublic void render(int i,
int j,
float f)
render in class net.minecraft.client.gui.Screen