Class ModListWidget.ModEntry
- java.lang.Object
-
- net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry<E>
-
- net.minecraft.client.gui.widget.list.ExtendedList.AbstractListEntry<ModListWidget.ModEntry>
-
- net.minecraftforge.fml.client.gui.widget.ModListWidget.ModEntry
-
- All Implemented Interfaces:
IGuiEventListener
- Enclosing class:
- ModListWidget
public class ModListWidget.ModEntry extends ExtendedList.AbstractListEntry<ModListWidget.ModEntry>
-
-
Field Summary
Fields Modifier and Type Field Description private ModInfo
modInfo
private ModListScreen
parent
-
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list
-
-
Constructor Summary
Constructors Constructor Description ModEntry(ModInfo info, ModListScreen parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModInfo
getInfo()
boolean
mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
void
render(MatrixStack mStack, int entryIdx, int top, int left, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean p_194999_5_, float partialTicks)
-
Methods inherited from class net.minecraft.client.gui.widget.list.ExtendedList.AbstractListEntry
changeFocus
-
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
isMouseOver
-
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.IGuiEventListener
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
-
-
-
Field Detail
-
modInfo
private final ModInfo modInfo
-
parent
private final ModListScreen parent
-
-
Constructor Detail
-
ModEntry
ModEntry(ModInfo info, ModListScreen parent)
-
-
Method Detail
-
render
public void render(MatrixStack mStack, int entryIdx, int top, int left, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean p_194999_5_, float partialTicks)
- Specified by:
render
in classAbstractList.AbstractListEntry<ModListWidget.ModEntry>
-
mouseClicked
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
-
getInfo
public ModInfo getInfo()
-
-