Class GraphDropDownWidget
java.lang.Object
com.portingdeadmods.researchd.client.screens.lib.widgets.DropDownWidget<net.minecraft.client.gui.layouts.LayoutElement>
com.portingdeadmods.researchd.client.screens.editor.widgets.dropdowns.GraphDropDownWidget
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.TabOrderedElement
public class GraphDropDownWidget
extends DropDownWidget<net.minecraft.client.gui.layouts.LayoutElement>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.portingdeadmods.researchd.client.screens.lib.widgets.DropDownWidget
DropDownWidget.Option, DropDownWidget.OptionContext, DropDownWidget.StringOption -
Field Summary
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionGraphDropDownWidget(@Nullable Research previousResearch, @Nullable net.minecraft.resources.ResourceLocation previousResearchdId, ResearchScreen screen, int x, int y) GraphDropDownWidget(ResearchScreen screen, int x, int y) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidrender(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTicks) Methods inherited from class com.portingdeadmods.researchd.client.screens.lib.widgets.DropDownWidget
addOption, close, getBackgroundTexture, isFocused, isHovered, isVisible, mouseClicked, open, optionClicked, playDownSound, rebuildOptions, render, setFocused, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, isMouseOver, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
GraphDropDownWidget
-
GraphDropDownWidget
public GraphDropDownWidget(@Nullable @Nullable Research previousResearch, @Nullable @Nullable net.minecraft.resources.ResourceLocation previousResearchdId, ResearchScreen screen, int x, int y)
-
-
Method Details
-
render
public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTicks) -
buildOptions
protected void buildOptions()- Specified by:
buildOptionsin classDropDownWidget<net.minecraft.client.gui.layouts.LayoutElement>
-