Klasse TitleEntry
java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
com.viaversion.viafabricplus.screen.VFPListEntry
com.viaversion.viafabricplus.screen.impl.settings.TitleEntry
- Alle implementierten Schnittstellen:
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
-
Feldübersicht
Von Klasse geerbte Felder com.viaversion.viafabricplus.screen.VFPListEntry
SCISSORS_OFFSET, SLOT_MARGIN -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungnet.minecraft.network.chat.ComponentvoidmappedRender(net.minecraft.client.gui.GuiGraphics context, int x, int y, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) voidrenderContent(net.minecraft.client.gui.GuiGraphics 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(GuiGraphics, int, int, int, int, int, int, boolean, float)methodVon Klasse geerbte Methoden com.viaversion.viafabricplus.screen.VFPListEntry
mappedMouseClicked, mouseClicked, renderScrollableText, renderScrollableText, renderTooltipVon Klasse geerbte Methoden net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionVon Schnittstelle geerbte Methoden net.minecraft.client.gui.layouts.LayoutElement
setPositionVon Schnittstelle geerbte Methoden net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Konstruktordetails
-
TitleEntry
public TitleEntry(net.minecraft.network.chat.Component name)
-
-
Methodendetails
-
getNarration
public net.minecraft.network.chat.Component getNarration()- Angegeben von:
getNarrationin Klassenet.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
-
renderContent
public void renderContent(net.minecraft.client.gui.GuiGraphics context, int mouseX, int mouseY, boolean hovered, float deltaTicks) Beschreibung aus Klasse kopiert:VFPListEntryAutomatically draws a background for the slot with the slot's dimension and calls theVFPListEntry.mappedRender(GuiGraphics, int, int, int, int, int, int, boolean, float)method- Setzt außer Kraft:
renderContentin KlasseVFPListEntry
-
mappedRender
public void mappedRender(net.minecraft.client.gui.GuiGraphics context, int x, int y, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) - Setzt außer Kraft:
mappedRenderin KlasseVFPListEntry
-