Class VFPListEntry

java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
com.viaversion.viafabricplus.screen.base.list.VFPListEntry
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
Direct Known Subclasses:
BetaCraftServerListScreen.ServerSlot, BooleanListEntry, ClassiCubeServerListScreen.ServerSlot, EnumListEntry, ProtocolSlot, VersionedBooleanListEntry, VFPTextEntry

public abstract class VFPListEntry extends net.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    extractContent(@NonNull net.minecraft.client.gui.GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float deltaTicks)
     
    void
     
    void
    mappedRender(net.minecraft.client.gui.GuiGraphicsExtractor context, int entryWidth, int entryHeight)
     
    boolean
    mouseClicked(net.minecraft.client.input.MouseButtonEvent click, boolean doubled)
     
    void
    renderScrollableText(net.minecraft.client.gui.GuiGraphicsExtractor context, net.minecraft.network.chat.Component text, int offset)
     

    Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry

    getNarration, updateNarration

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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

    capturesInput, charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, preeditUpdated, shouldTakeFocusAfterInteraction

    Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement

    setPosition

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

    getTabOrderGroup
  • Field Details

  • Constructor Details

    • VFPListEntry

      public VFPListEntry()
  • Method Details

    • mappedRender

      public void mappedRender(net.minecraft.client.gui.GuiGraphicsExtractor context, int entryWidth, int entryHeight)
    • mappedMouseClicked

      public void mappedMouseClicked()
    • mouseClicked

      public boolean mouseClicked(net.minecraft.client.input.MouseButtonEvent click, boolean doubled)
      Specified by:
      mouseClicked in interface net.minecraft.client.gui.components.events.GuiEventListener
      Overrides:
      mouseClicked in class net.minecraft.client.gui.components.ObjectSelectionList.Entry<VFPListEntry>
    • renderScrollableText

      public void renderScrollableText(net.minecraft.client.gui.GuiGraphicsExtractor context, net.minecraft.network.chat.Component text, int offset)
    • extractContent

      public void extractContent(@NonNull net.minecraft.client.gui.GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float deltaTicks)