Class LanServerInfo

java.lang.Object
net.minecraft.client.network.LanServerInfo

@Environment(CLIENT) public class LanServerInfo extends Object
Mappings:
Namespace Name
official fch
intermediary net/minecraft/class_1131
named net/minecraft/client/network/LanServerInfo
  • Field Details

    • motd

      private final String motd
      Mappings:
      Namespace Name Mixin selector
      official a Lfch;a:Ljava/lang/String;
      intermediary field_5515 Lnet/minecraft/class_1131;field_5515:Ljava/lang/String;
      named motd Lnet/minecraft/client/network/LanServerInfo;motd:Ljava/lang/String;
    • addressPort

      private final String addressPort
      Mappings:
      Namespace Name Mixin selector
      official b Lfch;b:Ljava/lang/String;
      intermediary field_5517 Lnet/minecraft/class_1131;field_5517:Ljava/lang/String;
      named addressPort Lnet/minecraft/client/network/LanServerInfo;addressPort:Ljava/lang/String;
    • lastTimeMillis

      private long lastTimeMillis
      Mappings:
      Namespace Name Mixin selector
      official c Lfch;c:J
      intermediary field_5516 Lnet/minecraft/class_1131;field_5516:J
      named lastTimeMillis Lnet/minecraft/client/network/LanServerInfo;lastTimeMillis:J
  • Constructor Details

    • LanServerInfo

      public LanServerInfo(String motd, String addressPort)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfch;<init>(Ljava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1131;<init>(Ljava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/network/LanServerInfo;<init>(Ljava/lang/String;Ljava/lang/String;)V
  • Method Details

    • getMotd

      public String getMotd()
      Mappings:
      Namespace Name Mixin selector
      official a Lfch;a()Ljava/lang/String;
      intermediary method_4813 Lnet/minecraft/class_1131;method_4813()Ljava/lang/String;
      named getMotd Lnet/minecraft/client/network/LanServerInfo;getMotd()Ljava/lang/String;
    • getAddressPort

      public String getAddressPort()
      Mappings:
      Namespace Name Mixin selector
      official b Lfch;b()Ljava/lang/String;
      intermediary method_4812 Lnet/minecraft/class_1131;method_4812()Ljava/lang/String;
      named getAddressPort Lnet/minecraft/client/network/LanServerInfo;getAddressPort()Ljava/lang/String;
    • updateLastTime

      public void updateLastTime()
      Mappings:
      Namespace Name Mixin selector
      official c Lfch;c()V
      intermediary method_4814 Lnet/minecraft/class_1131;method_4814()V
      named updateLastTime Lnet/minecraft/client/network/LanServerInfo;updateLastTime()V