Class ServerMetadata.Version

java.lang.Object
net.minecraft.server.ServerMetadata.Version
Enclosing class:
ServerMetadata

public static class ServerMetadata.Version extends Object
Mappings:
Namespace Name
official zm$c
intermediary net/minecraft/class_2926$class_2930
named net/minecraft/server/ServerMetadata$Version
  • Field Details

    • gameVersion

      private final String gameVersion
      Mappings:
      Namespace Name Mixin selector
      official a Lzm$c;a:Ljava/lang/String;
      intermediary field_13290 Lnet/minecraft/class_2926$class_2930;field_13290:Ljava/lang/String;
      named gameVersion Lnet/minecraft/server/ServerMetadata$Version;gameVersion:Ljava/lang/String;
    • protocolVersion

      private final int protocolVersion
      Mappings:
      Namespace Name Mixin selector
      official b Lzm$c;b:I
      intermediary field_13291 Lnet/minecraft/class_2926$class_2930;field_13291:I
      named protocolVersion Lnet/minecraft/server/ServerMetadata$Version;protocolVersion:I
  • Constructor Details

    • Version

      public Version(String gameVersion, int protocolVersion)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzm$c;<init>(Ljava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_2926$class_2930;<init>(Ljava/lang/String;I)V
      named <init> Lnet/minecraft/server/ServerMetadata$Version;<init>(Ljava/lang/String;I)V
  • Method Details

    • getGameVersion

      public String getGameVersion()
      Mappings:
      Namespace Name Mixin selector
      official a Lzm$c;a()Ljava/lang/String;
      intermediary method_12693 Lnet/minecraft/class_2926$class_2930;method_12693()Ljava/lang/String;
      named getGameVersion Lnet/minecraft/server/ServerMetadata$Version;getGameVersion()Ljava/lang/String;
    • getProtocolVersion

      public int getProtocolVersion()
      Mappings:
      Namespace Name Mixin selector
      official b Lzm$c;b()I
      intermediary method_12694 Lnet/minecraft/class_2926$class_2930;method_12694()I
      named getProtocolVersion Lnet/minecraft/server/ServerMetadata$Version;getProtocolVersion()I