Class ServerEntry

java.lang.Object
net.minecraft.client.gui.widget.ServerEntry
All Implemented Interfaces:
EntryListWidget.Entry

@Environment(CLIENT) public class ServerEntry extends Object implements EntryListWidget.Entry
Mappings:
Namespace Name
official bji
intermediary net/minecraft/class_1825
named net/minecraft/client/gui/widget/ServerEntry
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lbji;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_7830 Lnet/minecraft/class_1825;field_7830:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/gui/widget/ServerEntry;LOGGER:Lorg/apache/logging/log4j/Logger;
    • SERVER_PINGER_THREAD_POOL

      private static final ThreadPoolExecutor SERVER_PINGER_THREAD_POOL
      Mappings:
      Namespace Name Mixin selector
      official b Lbji;b:Ljava/util/concurrent/ThreadPoolExecutor;
      intermediary field_7831 Lnet/minecraft/class_1825;field_7831:Ljava/util/concurrent/ThreadPoolExecutor;
      named SERVER_PINGER_THREAD_POOL Lnet/minecraft/client/gui/widget/ServerEntry;SERVER_PINGER_THREAD_POOL:Ljava/util/concurrent/ThreadPoolExecutor;
    • UNKNOWN_TEXTURE

      private static final Identifier UNKNOWN_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official c Lbji;c:Lkq;
      intermediary field_10487 Lnet/minecraft/class_1825;field_10487:Lnet/minecraft/class_1653;
      named UNKNOWN_TEXTURE Lnet/minecraft/client/gui/widget/ServerEntry;UNKNOWN_TEXTURE:Lnet/minecraft/util/Identifier;
    • SORT_BUTTONS_TEXTURE

      private static final Identifier SORT_BUTTONS_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official d Lbji;d:Lkq;
      intermediary field_10488 Lnet/minecraft/class_1825;field_10488:Lnet/minecraft/class_1653;
      named SORT_BUTTONS_TEXTURE Lnet/minecraft/client/gui/widget/ServerEntry;SORT_BUTTONS_TEXTURE:Lnet/minecraft/util/Identifier;
    • parent

      private final MultiplayerScreen parent
      Mappings:
      Namespace Name Mixin selector
      official e Lbji;e:Lbjf;
      intermediary field_7832 Lnet/minecraft/class_1825;field_7832:Lnet/minecraft/class_376;
      named parent Lnet/minecraft/client/gui/widget/ServerEntry;parent:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official f Lbji;f:Lbes;
      intermediary field_7833 Lnet/minecraft/class_1825;field_7833:Lnet/minecraft/class_1600;
      named client Lnet/minecraft/client/gui/widget/ServerEntry;client:Lnet/minecraft/client/MinecraftClient;
    • serverInfo

      private final ServerInfo serverInfo
      Mappings:
      Namespace Name Mixin selector
      official g Lbji;g:Lbnt;
      intermediary field_7834 Lnet/minecraft/class_1825;field_7834:Lnet/minecraft/class_485;
      named serverInfo Lnet/minecraft/client/gui/widget/ServerEntry;serverInfo:Lnet/minecraft/client/network/ServerInfo;
    • iconTextureId

      private final Identifier iconTextureId
      Mappings:
      Namespace Name Mixin selector
      official h Lbji;h:Lkq;
      intermediary field_7838 Lnet/minecraft/class_1825;field_7838:Lnet/minecraft/class_1653;
      named iconTextureId Lnet/minecraft/client/gui/widget/ServerEntry;iconTextureId:Lnet/minecraft/util/Identifier;
    • iconUri

      private String iconUri
      Mappings:
      Namespace Name Mixin selector
      official i Lbji;i:Ljava/lang/String;
      intermediary field_7836 Lnet/minecraft/class_1825;field_7836:Ljava/lang/String;
      named iconUri Lnet/minecraft/client/gui/widget/ServerEntry;iconUri:Ljava/lang/String;
    • icon

      Mappings:
      Namespace Name Mixin selector
      official j Lbji;j:Lbyp;
      intermediary field_7837 Lnet/minecraft/class_1825;field_7837:Lnet/minecraft/class_1636;
      named icon Lnet/minecraft/client/gui/widget/ServerEntry;icon:Lnet/minecraft/client/texture/NativeImageBackedTexture;
    • time

      private long time
      Mappings:
      Namespace Name Mixin selector
      official k Lbji;k:J
      intermediary field_7835 Lnet/minecraft/class_1825;field_7835:J
      named time Lnet/minecraft/client/gui/widget/ServerEntry;time:J
  • Constructor Details

    • ServerEntry

      protected ServerEntry(MultiplayerScreen parent, ServerInfo serverInfo)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbji;<init>(Lbjf;Lbnt;)V
      intermediary <init> Lnet/minecraft/class_1825;<init>(Lnet/minecraft/class_376;Lnet/minecraft/class_485;)V
      named <init> Lnet/minecraft/client/gui/widget/ServerEntry;<init>(Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;Lnet/minecraft/client/network/ServerInfo;)V
  • Method Details

    • render

      public void render(int index, int x, int y, int rowWidth, int rowHeight, int mouseX, int mouseY, boolean hovered)
      Specified by:
      render in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lbfy$a;a(IIIIIIIZ)V
      intermediary method_6700 Lnet/minecraft/class_1802$class_1803;method_6700(IIIIIIIZ)V
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(IIIIIIIZ)V
    • renderIcon

      protected void renderIcon(int x, int y, Identifier textureId)
      Mappings:
      Namespace Name Mixin selector
      official a Lbji;a(IILkq;)V
      intermediary method_9610 Lnet/minecraft/class_1825;method_9610(IILnet/minecraft/class_1653;)V
      named renderIcon Lnet/minecraft/client/gui/widget/ServerEntry;renderIcon(IILnet/minecraft/util/Identifier;)V
    • isVisible

      private boolean isVisible()
      Mappings:
      Namespace Name Mixin selector
      official b Lbji;b()Z
      intermediary method_9611 Lnet/minecraft/class_1825;method_9611()Z
      named isVisible Lnet/minecraft/client/gui/widget/ServerEntry;isVisible()Z
    • checkServerIcon

      private void checkServerIcon()
      Mappings:
      Namespace Name Mixin selector
      official c Lbji;c()V
      intermediary method_6789 Lnet/minecraft/class_1825;method_6789()V
      named checkServerIcon Lnet/minecraft/client/gui/widget/ServerEntry;checkServerIcon()V
    • mouseClicked

      public boolean mouseClicked(int index, int mouseX, int mouseY, int button, int x, int y)
      Specified by:
      mouseClicked in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lbfy$a;a(IIIIII)Z
      intermediary method_6699 Lnet/minecraft/class_1802$class_1803;method_6699(IIIIII)Z
      named mouseClicked Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;mouseClicked(IIIIII)Z
    • updatePosition

      public void updatePosition(int index, int x, int y)
      Specified by:
      updatePosition in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lbfy$a;a(III)V
      intermediary method_9473 Lnet/minecraft/class_1802$class_1803;method_9473(III)V
      named updatePosition Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;updatePosition(III)V
    • mouseReleased

      public void mouseReleased(int index, int mouseX, int mouseY, int button, int x, int y)
      Specified by:
      mouseReleased in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official b Lbfy$a;b(IIIIII)V
      intermediary method_6701 Lnet/minecraft/class_1802$class_1803;method_6701(IIIIII)V
      named mouseReleased Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;mouseReleased(IIIIII)V
    • getServer

      public ServerInfo getServer()
      Mappings:
      Namespace Name Mixin selector
      official a Lbji;a()Lbnt;
      intermediary method_6787 Lnet/minecraft/class_1825;method_6787()Lnet/minecraft/class_485;
      named getServer Lnet/minecraft/client/gui/widget/ServerEntry;getServer()Lnet/minecraft/client/network/ServerInfo;