Class RegionPingResult

java.lang.Object
net.minecraft.client.realms.dto.ValueObject
net.minecraft.client.realms.dto.RegionPingResult
All Implemented Interfaces:
RealmsSerializable

@Environment(CLIENT) public class RegionPingResult extends ValueObject implements RealmsSerializable
Mappings:
Namespace Name
named net/minecraft/client/realms/dto/RegionPingResult
intermediary net/minecraft/class_4886
official fbr
  • Field Details

    • regionName

      @SerializedName("regionName") private final String regionName
      Mappings:
      Namespace Name Mixin selector
      named regionName Lnet/minecraft/client/realms/dto/RegionPingResult;regionName:Ljava/lang/String;
      intermediary field_22651 Lnet/minecraft/class_4886;field_22651:Ljava/lang/String;
      official a Lfbr;a:Ljava/lang/String;
    • ping

      @SerializedName("ping") private final int ping
      Mappings:
      Namespace Name Mixin selector
      named ping Lnet/minecraft/client/realms/dto/RegionPingResult;ping:I
      intermediary field_22652 Lnet/minecraft/class_4886;field_22652:I
      official b Lfbr;b:I
  • Constructor Details

    • RegionPingResult

      public RegionPingResult(String regionName, int ping)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/dto/RegionPingResult;<init>(Ljava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_4886;<init>(Ljava/lang/String;I)V
      official <init> Lfbr;<init>(Ljava/lang/String;I)V
  • Method Details

    • getPing

      public int getPing()
      Mappings:
      Namespace Name Mixin selector
      named getPing Lnet/minecraft/client/realms/dto/RegionPingResult;getPing()I
      intermediary method_25084 Lnet/minecraft/class_4886;method_25084()I
      official a Lfbr;a()I
    • toString

      public String toString()
      Overrides:
      toString in class ValueObject