Class SelectPackDropDownWidget
java.lang.Object
com.portingdeadmods.researchd.client.screens.lib.widgets.DropDownWidget<SelectPackSearchBarWidget>
com.portingdeadmods.researchd.client.screens.editor.widgets.SelectPackDropDownWidget
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.TabOrderedElement
-
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
ConstructorsConstructorDescriptionSelectPackDropDownWidget(SelectPackSearchBarWidget packSearchBarWidget, net.minecraft.server.packs.PackType type) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidoptionClicked(DropDownWidget.Option option, int mouseX, int mouseY) Methods inherited from class com.portingdeadmods.researchd.client.screens.lib.widgets.DropDownWidget
addOption, close, getBackgroundTexture, isFocused, isHovered, isVisible, mouseClicked, open, 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
-
SelectPackDropDownWidget
public SelectPackDropDownWidget(SelectPackSearchBarWidget packSearchBarWidget, net.minecraft.server.packs.PackType type)
-
-
Method Details
-
buildOptions
protected void buildOptions()- Specified by:
buildOptionsin classDropDownWidget<SelectPackSearchBarWidget>
-
optionClicked
- Overrides:
optionClickedin classDropDownWidget<SelectPackSearchBarWidget>
-