T - The type of the configP - The type of the parent configpublic abstract class SubConfigScreen<T extends ISubConfig<T,P>,P extends IConfig<P>> extends AbstractConfigScreen<T>
SubConfigSerializermanager| Modifier | Constructor and Description |
|---|---|
protected |
SubConfigScreen(net.minecraft.client.gui.Screen parent,
java.lang.String title,
ConfigManager<P> manager,
java.util.function.Function<P,T> getter)
Creates a sub-config screen
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
buttonClicked(net.minecraft.client.gui.widgets.Button arg) |
getOptions, init, rendergetClipboardContents, init, isPauseScreen, keyPressed, method_130, method_135, mouseClicked, mouseReleased, onClose, onKeyboardEvent, onMouseEvent, renderBackground, renderBackground, renderDirtBackground, tick, updateServerprotected SubConfigScreen(net.minecraft.client.gui.Screen parent,
java.lang.String title,
ConfigManager<P> manager,
java.util.function.Function<P,T> getter)
parent - The parent screentitle - The title of the screenmanager - The manager of the parent configgetter - Gets the sub-config from the parent configprotected void buttonClicked(net.minecraft.client.gui.widgets.Button arg)
buttonClicked in class AbstractConfigScreen<T extends ISubConfig<T,P>>