Package net.minecraft.client.realms
Record Class RealmsAvailability.Info
java.lang.Object
java.lang.Record
net.minecraft.client.realms.RealmsAvailability.Info
- Record Components:
type-exception-
- Enclosing class:
RealmsAvailability
@Environment(CLIENT)
public static record RealmsAvailability.Info(RealmsAvailability.Type type, @Nullable RealmsServiceException exception)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/realms/RealmsAvailability$Infointermediary net/minecraft/class_8647$class_8648official fbs$anamed typeintermediary comp_1593official anamed exceptionintermediary comp_1594official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable RealmsServiceExceptionThe field for theexceptionrecord component.private final RealmsAvailability.TypeThe field for thetyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionInfo(RealmsServiceException exception) Info(RealmsAvailability.Type type) Info(RealmsAvailability.Type type, @Nullable RealmsServiceException realmsServiceException) -
Method Summary
Modifier and TypeMethodDescriptioncreateScreen(Screen parent) final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexceptionrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
Constructor Details
-
Info
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/realms/RealmsAvailability$Info;<init>(Lnet/minecraft/client/realms/RealmsAvailability$Type;)Vintermediary <init>Lnet/minecraft/class_8647$class_8648;<init>(Lnet/minecraft/class_8647$class_8649;)Vofficial <init>Lfbs$a;<init>(Lfbs$b;)V
-
Info
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/realms/RealmsAvailability$Info;<init>(Lnet/minecraft/client/realms/exception/RealmsServiceException;)Vintermediary <init>Lnet/minecraft/class_8647$class_8648;<init>(Lnet/minecraft/class_4355;)Vofficial <init>Lfbs$a;<init>(Lfdj;)V
-
Info
public Info(RealmsAvailability.Type type, @Nullable @Nullable RealmsServiceException realmsServiceException)
-
-
Method Details
-
createScreen
- Mappings:
Namespace Name Mixin selector named createScreenLnet/minecraft/client/realms/RealmsAvailability$Info;createScreen(Lnet/minecraft/client/gui/screen/Screen;)Lnet/minecraft/client/gui/screen/Screen;intermediary method_52628Lnet/minecraft/class_8647$class_8648;method_52628(Lnet/minecraft/class_437;)Lnet/minecraft/class_437;official aLfbs$a;a(Lfod;)Lfod;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
exception
Returns the value of theexceptionrecord component.- Returns:
- the value of the
exceptionrecord component
-