Class ServerMetadata.Players

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

public static class ServerMetadata.Players extends Object
Mappings:
Namespace Name
official xk$a
intermediary net/minecraft/class_2926$class_2927
named net/minecraft/server/ServerMetadata$Players
  • Field Details

    • max

      private final int max
      Mappings:
      Namespace Name Mixin selector
      official a Lxk$a;a:I
      intermediary field_13289 Lnet/minecraft/class_2926$class_2927;field_13289:I
      named max Lnet/minecraft/server/ServerMetadata$Players;max:I
    • online

      private final int online
      Mappings:
      Namespace Name Mixin selector
      official b Lxk$a;b:I
      intermediary field_13288 Lnet/minecraft/class_2926$class_2927;field_13288:I
      named online Lnet/minecraft/server/ServerMetadata$Players;online:I
    • sample

      @Nullable private @Nullable com.mojang.authlib.GameProfile[] sample
      Mappings:
      Namespace Name Mixin selector
      official c Lxk$a;c:[Lcom/mojang/authlib/GameProfile;
      intermediary field_13287 Lnet/minecraft/class_2926$class_2927;field_13287:[Lcom/mojang/authlib/GameProfile;
      named sample Lnet/minecraft/server/ServerMetadata$Players;sample:[Lcom/mojang/authlib/GameProfile;
  • Constructor Details

    • Players

      public Players(int max, int online)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxk$a;<init>(II)V
      intermediary <init> Lnet/minecraft/class_2926$class_2927;<init>(II)V
      named <init> Lnet/minecraft/server/ServerMetadata$Players;<init>(II)V
  • Method Details

    • getPlayerLimit

      public int getPlayerLimit()
      Mappings:
      Namespace Name Mixin selector
      official a Lxk$a;a()I
      intermediary method_12687 Lnet/minecraft/class_2926$class_2927;method_12687()I
      named getPlayerLimit Lnet/minecraft/server/ServerMetadata$Players;getPlayerLimit()I
    • getOnlinePlayerCount

      public int getOnlinePlayerCount()
      Mappings:
      Namespace Name Mixin selector
      official b Lxk$a;b()I
      intermediary method_12688 Lnet/minecraft/class_2926$class_2927;method_12688()I
      named getOnlinePlayerCount Lnet/minecraft/server/ServerMetadata$Players;getOnlinePlayerCount()I
    • getSample

      @Nullable public @Nullable com.mojang.authlib.GameProfile[] getSample()
      Mappings:
      Namespace Name Mixin selector
      official c Lxk$a;c()[Lcom/mojang/authlib/GameProfile;
      intermediary method_12685 Lnet/minecraft/class_2926$class_2927;method_12685()[Lcom/mojang/authlib/GameProfile;
      named getSample Lnet/minecraft/server/ServerMetadata$Players;getSample()[Lcom/mojang/authlib/GameProfile;
    • setSample

      public void setSample(com.mojang.authlib.GameProfile[] sample)
      Mappings:
      Namespace Name Mixin selector
      official a Lxk$a;a([Lcom/mojang/authlib/GameProfile;)V
      intermediary method_12686 Lnet/minecraft/class_2926$class_2927;method_12686([Lcom/mojang/authlib/GameProfile;)V
      named setSample Lnet/minecraft/server/ServerMetadata$Players;setSample([Lcom/mojang/authlib/GameProfile;)V