Package net.minecraft

Record Class class_11459

java.lang.Object
java.lang.Record
net.minecraft.class_11459
Record Components:
address -
resourcePackUrl -
resourcePackHash -
regionData -
All Implemented Interfaces:
RealmsSerializable

@Environment(CLIENT) public record class_11459(@Nullable String address, @Nullable String resourcePackUrl, @Nullable String resourcePackHash, class_11459.class_11460 regionData) extends Record implements RealmsSerializable
Mappings:
Namespace Name
named net/minecraft/class_11459
intermediary net/minecraft/class_11459
official fpq
named address
intermediary comp_4365
official a
named resourcePackUrl
intermediary comp_4366
official b
named resourcePackHash
intermediary comp_4367
official c
named regionData
intermediary comp_4368
official d
  • Field Details

    • address

      @SerializedName("address") @Nullable private final @Nullable String address
      The field for the address record component.
    • resourcePackUrl

      @SerializedName("resourcePackUrl") @Nullable private final @Nullable String resourcePackUrl
      The field for the resourcePackUrl record component.
    • resourcePackHash

      @SerializedName("resourcePackHash") @Nullable private final @Nullable String resourcePackHash
      The field for the resourcePackHash record component.
    • regionData

      @SerializedName("sessionRegionData") @Nullable private final class_11459.class_11460 regionData
      The field for the regionData record component.
    • field_60676

      private static final Logger field_60676
      Mappings:
      Namespace Name Mixin selector
      named field_60676 Lnet/minecraft/class_11459;field_60676:Lorg/slf4j/Logger;
      intermediary field_60676 Lnet/minecraft/class_11459;field_60676:Lorg/slf4j/Logger;
      official e Lfpq;e:Lorg/slf4j/Logger;
    • field_60677

      private static final class_11459 field_60677
      Mappings:
      Namespace Name Mixin selector
      named field_60677 Lnet/minecraft/class_11459;field_60677:Lnet/minecraft/class_11459;
      intermediary field_60677 Lnet/minecraft/class_11459;field_60677:Lnet/minecraft/class_11459;
      official f Lfpq;f:Lfpq;
  • Constructor Details

  • Method Details

    • method_71782

      public static class_11459 method_71782(CheckedGson checkedGson, String string)
      Mappings:
      Namespace Name Mixin selector
      named method_71782 Lnet/minecraft/class_11459;method_71782(Lnet/minecraft/client/realms/CheckedGson;Ljava/lang/String;)Lnet/minecraft/class_11459;
      intermediary method_71782 Lnet/minecraft/class_11459;method_71782(Lnet/minecraft/class_4869;Ljava/lang/String;)Lnet/minecraft/class_11459;
      official a Lfpq;a(Lfph;Ljava/lang/String;)Lfpq;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • address

      @SerializedName("address") @Nullable public @Nullable String address()
      Returns the value of the address record component.
      Returns:
      the value of the address record component
    • resourcePackUrl

      @SerializedName("resourcePackUrl") @Nullable public @Nullable String resourcePackUrl()
      Returns the value of the resourcePackUrl record component.
      Returns:
      the value of the resourcePackUrl record component
    • resourcePackHash

      @SerializedName("resourcePackHash") @Nullable public @Nullable String resourcePackHash()
      Returns the value of the resourcePackHash record component.
      Returns:
      the value of the resourcePackHash record component
    • regionData

      @SerializedName("sessionRegionData") @Nullable public @Nullable class_11459.class_11460 regionData()
      Returns the value of the regionData record component.
      Returns:
      the value of the regionData record component