Class LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry>
net.neoforged.neoforge.client.gui.LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry
- All Implemented Interfaces:
GuiEventListener
,TabOrderedElement
,NarrationSupplier
- Enclosing class:
LoadingErrorScreen.LoadingEntryList
public class LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry
extends ObjectSelectionList.Entry<LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry>
-
Field Summary
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
ConstructorDescriptionLoadingMessageEntry
(Component message) LoadingMessageEntry
(Component message, boolean center) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(GuiGraphics guiGraphics, int entryIdx, int top, int left, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean p_194999_5_, 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, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
message
-
center
private final boolean center
-
-
Constructor Details
-
Method Details
-
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry>
-
render
public void render(GuiGraphics guiGraphics, int entryIdx, int top, int left, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean p_194999_5_, float partialTick) - Specified by:
render
in classAbstractSelectionList.Entry<LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry>
-