Class LanServerInfo

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

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

    • motd

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

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

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

    • LanServerInfo

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

    • getMotd

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

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

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