public class EntryButtonWidget
extends com.supermartijn642.core.gui.widget.BaseWidget
| Constructor and Description |
|---|
EntryButtonWidget(int x,
int y,
int width,
int height,
java.util.function.Supplier<ChiselingEntry> entrySupplier,
java.util.function.Supplier<ChiselingEntry> selectedEntrySupplier,
java.lang.Runnable onClick,
java.util.function.Supplier<java.lang.Boolean> connecting) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.text.ITextComponent |
getNarrationMessage() |
boolean |
mousePressed(int mouseX,
int mouseY,
int button,
boolean hasBeenHandled) |
void |
render(int mouseX,
int mouseY) |
addWidget, addWidgets, charTyped, discard, getTooltips, height, initialize, isFocused, keyPressed, keyReleased, left, mouseReleased, mouseScrolled, removeWidget, renderBackground, renderForeground, renderOverlay, renderTooltips, setFocused, top, update, widthpublic EntryButtonWidget(int x,
int y,
int width,
int height,
java.util.function.Supplier<ChiselingEntry> entrySupplier,
java.util.function.Supplier<ChiselingEntry> selectedEntrySupplier,
java.lang.Runnable onClick,
java.util.function.Supplier<java.lang.Boolean> connecting)
public net.minecraft.util.text.ITextComponent getNarrationMessage()
public void render(int mouseX,
int mouseY)
render in interface com.supermartijn642.core.gui.widget.Widgetrender in class com.supermartijn642.core.gui.widget.BaseWidgetpublic boolean mousePressed(int mouseX,
int mouseY,
int button,
boolean hasBeenHandled)
mousePressed in interface com.supermartijn642.core.gui.widget.WidgetmousePressed in class com.supermartijn642.core.gui.widget.BaseWidget