Class LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry>
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
FieldsFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionLoadingMessageEntry(Component message) LoadingMessageEntry(Component message, boolean center) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(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
mouseClicked, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods 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:
getNarrationin 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:
renderin classAbstractSelectionList.Entry<LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry>
-