Class RealmsServer.McoServerComparator

java.lang.Object
net.minecraft.client.realms.dto.RealmsServer.McoServerComparator
All Implemented Interfaces:
Comparator<RealmsServer>
Enclosing class:
RealmsServer

@Environment(CLIENT) public static class RealmsServer.McoServerComparator extends Object implements Comparator<RealmsServer>
Mappings:
Namespace Name
official ejq$a
intermediary net/minecraft/class_4877$class_4319
named net/minecraft/client/realms/dto/RealmsServer$McoServerComparator
  • Field Details

    • refOwner

      private final String refOwner
      Mappings:
      Namespace Name Mixin selector
      official a Lejq$a;a:Ljava/lang/String;
      intermediary field_19432 Lnet/minecraft/class_4877$class_4319;field_19432:Ljava/lang/String;
      named refOwner Lnet/minecraft/client/realms/dto/RealmsServer$McoServerComparator;refOwner:Ljava/lang/String;
  • Constructor Details

    • McoServerComparator

      public McoServerComparator(String owner)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejq$a;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4877$class_4319;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/realms/dto/RealmsServer$McoServerComparator;<init>(Ljava/lang/String;)V
  • Method Details

    • compare

      public int compare(RealmsServer realmsServer, RealmsServer realmsServer2)
      Specified by:
      compare in interface Comparator<RealmsServer>
      Mappings:
      Namespace Name Mixin selector
      official a Lejq$a;a(Lejq;Lejq;)I
      intermediary method_20830 Lnet/minecraft/class_4877$class_4319;method_20830(Lnet/minecraft/class_4877;Lnet/minecraft/class_4877;)I
      named compare Lnet/minecraft/client/realms/dto/RealmsServer$McoServerComparator;compare(Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/client/realms/dto/RealmsServer;)I