Class ListList.ListEntry<S>
java.lang.Object
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<ListList.Entry>
com.stereowalker.unionlib.client.gui.screens.DefaultList.DefaultEntry<ListList.Entry>
com.stereowalker.unionlib.client.gui.screens.config.lists.ListList.Entry
com.stereowalker.unionlib.client.gui.screens.config.lists.ListList.ListEntry<S>
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement
- Direct Known Subclasses:
ListList.StringEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.client.gui.components.AbstractWidgetprotected Sprotected intprotected final net.minecraft.client.gui.components.Button -
Method Summary
Modifier and TypeMethodDescriptionbooleancharTyped(CharTypeEvent cte) List<? extends net.minecraft.client.gui.components.events.GuiEventListener> children()voiddraw(GuiRenderer guiRenderer, int mouseX, int mouseY, boolean hovered) booleanisMouseOver(double mouseX, double mouseY) booleankeyPressed(KeyPressEvent kpe) booleanbooleanbooleanList<? extends net.minecraft.client.gui.narration.NarratableEntry> voidsetFocused(boolean focused) voidtick()Methods inherited from class DefaultList.DefaultEntry
charTyped, entryX, entryY, extractContent, height, keyPressed, mouseClicked, mouseDragged, mouseReleased, widthMethods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, nextFocusPath, setDragging, setFocusedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseScrolled, preeditUpdatedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangle, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
entry
-
index
protected int index -
removeButton
protected final net.minecraft.client.gui.components.Button removeButton -
configInteractable
protected net.minecraft.client.gui.components.AbstractWidget configInteractable
-
-
Method Details
-
tick
public void tick() -
getMainList
-
draw
- Overrides:
drawin classDefaultList.DefaultEntry<ListList.Entry>
-
children
-
narratables
- Specified by:
narratablesin classnet.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<ListList.Entry>
-
mouseClicked
- Overrides:
mouseClickedin classDefaultList.DefaultEntry<ListList.Entry>
-
setFocused
public void setFocused(boolean focused) - Specified by:
setFocusedin interfacenet.minecraft.client.gui.components.events.ContainerEventHandler- Specified by:
setFocusedin interfacenet.minecraft.client.gui.components.events.GuiEventListener
-
isMouseOver
public boolean isMouseOver(double mouseX, double mouseY) - Specified by:
isMouseOverin interfacenet.minecraft.client.gui.components.events.GuiEventListener
-
mouseReleased
- Overrides:
mouseReleasedin classDefaultList.DefaultEntry<ListList.Entry>
-
keyPressed
- Overrides:
keyPressedin classDefaultList.DefaultEntry<ListList.Entry>
-
charTyped
- Overrides:
charTypedin classDefaultList.DefaultEntry<ListList.Entry>
-
mouseDragged
- Overrides:
mouseDraggedin classDefaultList.DefaultEntry<ListList.Entry>
-