Class ModListWidget.ModEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<ModListWidget.ModEntry>
net.minecraftforge.fmlclient.gui.widget.ModListWidget.ModEntry
- All Implemented Interfaces:
GuiEventListener
,NarrationSupplier
- Enclosing class:
- ModListWidget
-
Field Summary
Modifier and TypeFieldDescriptionprivate net.minecraftforge.forgespi.language.IModInfo
private ModListScreen
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
-
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(PoseStack pStack, 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.components.ObjectSelectionList.Entry
changeFocus, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
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.components.events.GuiEventListener
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
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(PoseStack pStack, int entryIdx, int top, int left, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean p_194999_5_, float partialTicks)- Specified by:
render
in classAbstractSelectionList.Entry<ModListWidget.ModEntry>
-
mouseClicked
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_) -
getInfo
public net.minecraftforge.forgespi.language.IModInfo getInfo()
-