Class LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry

java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry>
net.neoforged.neoforge.client.gui.LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry
All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.narration.NarrationSupplier
Enclosing class:
LoadingErrorScreen.LoadingEntryList

public class LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry extends net.minecraft.client.gui.components.ObjectSelectionList.Entry<LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final boolean
     
    private final net.minecraft.network.chat.Component
     

    Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
    LoadingMessageEntry(net.minecraft.network.chat.Component message)
     
    LoadingMessageEntry(net.minecraft.network.chat.Component message, boolean center)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.Component
     
    void
    render(net.minecraft.client.gui.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, updateNarration

    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, getBorderForArrowNavigation, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Field Details

    • message

      private final net.minecraft.network.chat.Component message
    • center

      private final boolean center
  • Constructor Details

    • LoadingMessageEntry

      LoadingMessageEntry(net.minecraft.network.chat.Component message)
    • LoadingMessageEntry

      LoadingMessageEntry(net.minecraft.network.chat.Component message, boolean center)
  • Method Details

    • getNarration

      public net.minecraft.network.chat.Component getNarration()
      Specified by:
      getNarration in class net.minecraft.client.gui.components.ObjectSelectionList.Entry<LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry>
    • render

      public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int entryIdx, int top, int left, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean p_194999_5_, float partialTick)