Class CustomServerSelectionList.OnlineServerEntry

java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<CustomServerSelectionList.Entry>
com.pixelmonmod.pixelmon.client.gui.override.servers.screen.CustomServerSelectionList.Entry
com.pixelmonmod.pixelmon.client.gui.override.servers.screen.CustomServerSelectionList.OnlineServerEntry
All Implemented Interfaces:
AutoCloseable, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.narration.NarrationSupplier
Enclosing class:
CustomServerSelectionList

public class CustomServerSelectionList.OnlineServerEntry extends CustomServerSelectionList.Entry
  • Field Summary

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

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    drawIcon(net.minecraft.client.gui.GuiGraphics p_281338_, int p_283001_, int p_282834_, net.minecraft.resources.ResourceLocation p_282534_)
     
    net.minecraft.network.chat.Component
     
     
    boolean
    keyPressed(int p_99875_, int p_99876_, int p_99877_)
     
    boolean
    mouseClicked(double mouseX, double mouseY, int button)
     
    void
    render(net.minecraft.client.gui.GuiGraphics guiGraphics, int p_281506_, int p_282921_, int p_281363_, int p_283596_, int p_281630_, int mouseX, int mouseY, boolean selected, float partialTicks)
     
    void
     

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

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

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

    getTabOrderGroup
  • Constructor Details

  • Method Details

    • render

      public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int p_281506_, int p_282921_, int p_281363_, int p_283596_, int p_281630_, int mouseX, int mouseY, boolean selected, float partialTicks)
    • updateServerList

      public void updateServerList()
    • drawIcon

      protected void drawIcon(net.minecraft.client.gui.GuiGraphics p_281338_, int p_283001_, int p_282834_, net.minecraft.resources.ResourceLocation p_282534_)
    • keyPressed

      public boolean keyPressed(int p_99875_, int p_99876_, int p_99877_)
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
    • getServerData

      public ExtendedServerData getServerData()
    • getNarration

      public net.minecraft.network.chat.Component getNarration()
      Specified by:
      getNarration in class net.minecraft.client.gui.components.ObjectSelectionList.Entry<CustomServerSelectionList.Entry>
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class CustomServerSelectionList.Entry