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,LayoutElement,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
CONTENT_PADDING, list -
Constructor Summary
ConstructorsConstructorDescriptionLoadingMessageEntry(Component message) LoadingMessageEntry(Component message, boolean center) -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderContent(GuiGraphics guiGraphics, int mouseX, int mouseY, boolean hovered, 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
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods 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, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods 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>
-
renderContent
public void renderContent(GuiGraphics guiGraphics, int mouseX, int mouseY, boolean hovered, float partialTick) - Specified by:
renderContentin classAbstractSelectionList.Entry<LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry>
-