Class TitleEntry
java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
com.viaversion.viafabricplus.screen.VFPListEntry
com.viaversion.viafabricplus.screen.impl.settings.TitleEntry
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement, net.minecraft.client.gui.narration.NarrationSupplier
-
Field Summary
Fields inherited from class VFPListEntry
SCISSORS_OFFSET, SLOT_MARGIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidextractContent(net.minecraft.client.gui.GuiGraphicsExtractor context, int mouseX, int mouseY, boolean hovered, float deltaTicks) Automatically draws a background for the slot with the slot's dimension and calls theVFPListEntry.mappedRender(GuiGraphicsExtractor, int, int, int, int, int, int, boolean, float)methodnet.minecraft.network.chat.ComponentvoidmappedRender(net.minecraft.client.gui.GuiGraphicsExtractor context, int x, int y, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Methods inherited from class VFPListEntry
mappedMouseClicked, mouseClicked, renderScrollableText, renderScrollableText, renderTooltipMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class 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, preeditUpdated, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
TitleEntry
public TitleEntry(net.minecraft.network.chat.Component name)
-
-
Method Details
-
getNarration
public net.minecraft.network.chat.Component getNarration()- Specified by:
getNarrationin classnet.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
-
extractContent
public void extractContent(net.minecraft.client.gui.GuiGraphicsExtractor context, int mouseX, int mouseY, boolean hovered, float deltaTicks) Description copied from class:VFPListEntryAutomatically draws a background for the slot with the slot's dimension and calls theVFPListEntry.mappedRender(GuiGraphicsExtractor, int, int, int, int, int, int, boolean, float)method- Overrides:
extractContentin classVFPListEntry
-
mappedRender
public void mappedRender(net.minecraft.client.gui.GuiGraphicsExtractor context, int x, int y, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) - Overrides:
mappedRenderin classVFPListEntry
-