Class SettingsWidgets
java.lang.Object
dev.miyomiyo.agentbridge.client.settings.SettingsWidgets
public final class SettingsWidgets
extends java.lang.Object
Native controls with the host's presentation; extensions keep their own draft and save owner.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbutton(net.minecraft.network.chat.Component label, net.minecraft.client.gui.components.Button.OnPress action) static net.minecraft.client.gui.components.EditBoxtextField(net.minecraft.client.gui.Font font, int x, int y, int width, int height, net.minecraft.network.chat.Component label) Native text editing preserves selection, caret, clipboard, IME and narration behavior.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
button
public static SettingsWidgets.ButtonBuilder button(net.minecraft.network.chat.Component label, net.minecraft.client.gui.components.Button.OnPress action) -
textField
public static net.minecraft.client.gui.components.EditBox textField(net.minecraft.client.gui.Font font, int x, int y, int width, int height, net.minecraft.network.chat.Component label) Native text editing preserves selection, caret, clipboard, IME and narration behavior.
-