Class ModListWidget.ModEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<ModListWidget.ModEntry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<ModListWidget.ModEntry>
net.minecraftforge.client.gui.widget.ModListWidget.ModEntry
- All Implemented Interfaces:
GuiEventListener
,TabOrderedElement
,NarrationSupplier
- Enclosing class:
ModListWidget
-
Field Summary
Modifier and TypeFieldDescriptionprivate final net.minecraftforge.forgespi.language.IModInfo
private final ModListScreen
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionModEntry
(net.minecraftforge.forgespi.language.IModInfo info, ModListScreen parent) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraftforge.forgespi.language.IModInfo
getInfo()
boolean
mouseClicked
(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_) void
render
(GuiGraphics guiGraphics, int entryIdx, int top, int left, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean isMouseOver, float partialTick) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
modInfo
private final net.minecraftforge.forgespi.language.IModInfo modInfo -
parent
-
-
Constructor Details
-
ModEntry
ModEntry(net.minecraftforge.forgespi.language.IModInfo info, ModListScreen parent)
-
-
Method Details
-
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<ModListWidget.ModEntry>
-
render
public void render(GuiGraphics guiGraphics, int entryIdx, int top, int left, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean isMouseOver, float partialTick) - Specified by:
render
in classAbstractSelectionList.Entry<ModListWidget.ModEntry>
-
mouseClicked
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_) - Specified by:
mouseClicked
in interfaceGuiEventListener
- Overrides:
mouseClicked
in classObjectSelectionList.Entry<ModListWidget.ModEntry>
-
getInfo
public net.minecraftforge.forgespi.language.IModInfo getInfo()
-