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
official ebh
intermediary net/minecraft/class_4886
named net/minecraft/client/realms/dto/RegionPingResult
  • Field Details

    • regionName

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

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

    • RegionPingResult

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

    • getPing

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

      public String toString()
      Overrides:
      toString in class ValueObject