Package net.minecraft
Record Class class_9782.class_9783
java.lang.Object
java.lang.Record
net.minecraft.class_9782.class_9783
- Record Components:
type
-url
-
- Enclosing class:
class_9782
public static record class_9782.class_9783(com.mojang.datafixers.util.Either<class_9782.class_9784,Text> type, String url)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_9782$class_9783
intermediary net/minecraft/class_9782$class_9783
official ali$a
named type
intermediary comp_2827
official c
named url
intermediary comp_2828
official d
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, com.mojang.datafixers.util.Either<class_9782.class_9784, Text>> static final PacketCodec
<ByteBuf, class_9782.class_9783> private final com.mojang.datafixers.util.Either
<class_9782.class_9784, Text> The field for thetype
record component.private final String
The field for theurl
record component. -
Constructor Summary
ConstructorDescriptionclass_9783
(com.mojang.datafixers.util.Either<class_9782.class_9784, Text> either, String string) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.static class_9782.class_9783
method_60663
(class_9782.class_9784 class_9784, String string) static class_9782.class_9783
method_60665
(Text text, String string) final String
toString()
Returns a string representation of this record class.com.mojang.datafixers.util.Either
<class_9782.class_9784, Text> type()
Returns the value of thetype
record component.url()
Returns the value of theurl
record component.
-
Field Details
-
type
The field for thetype
record component. -
url
The field for theurl
record component. -
field_51979
public static final PacketCodec<ByteBuf,com.mojang.datafixers.util.Either<class_9782.class_9784, field_51979Text>> - Mappings:
Namespace Name Mixin selector named field_51979
Lnet/minecraft/class_9782$class_9783;field_51979:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_51979
Lnet/minecraft/class_9782$class_9783;field_51979:Lnet/minecraft/class_9139;
official a
Lali$a;a:Lyw;
-
field_51980
- Mappings:
Namespace Name Mixin selector named field_51980
Lnet/minecraft/class_9782$class_9783;field_51980:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_51980
Lnet/minecraft/class_9782$class_9783;field_51980:Lnet/minecraft/class_9139;
official b
Lali$a;b:Lyw;
-
-
Constructor Details
-
class_9783
public class_9783(com.mojang.datafixers.util.Either<class_9782.class_9784, Text> either, String string)
-
-
Method Details
-
method_60663
- Mappings:
Namespace Name Mixin selector named method_60663
Lnet/minecraft/class_9782$class_9783;method_60663(Lnet/minecraft/class_9782$class_9784;Ljava/lang/String;)Lnet/minecraft/class_9782$class_9783;
intermediary method_60663
Lnet/minecraft/class_9782$class_9783;method_60663(Lnet/minecraft/class_9782$class_9784;Ljava/lang/String;)Lnet/minecraft/class_9782$class_9783;
official a
Lali$a;a(Lali$b;Ljava/lang/String;)Lali$a;
-
method_60665
- Mappings:
Namespace Name Mixin selector named method_60665
Lnet/minecraft/class_9782$class_9783;method_60665(Lnet/minecraft/text/Text;Ljava/lang/String;)Lnet/minecraft/class_9782$class_9783;
intermediary method_60665
Lnet/minecraft/class_9782$class_9783;method_60665(Lnet/minecraft/class_2561;Ljava/lang/String;)Lnet/minecraft/class_9782$class_9783;
official a
Lali$a;a(Lwy;Ljava/lang/String;)Lali$a;
-
method_60662
- Mappings:
Namespace Name Mixin selector named method_60662
Lnet/minecraft/class_9782$class_9783;method_60662()Lnet/minecraft/text/Text;
intermediary method_60662
Lnet/minecraft/class_9782$class_9783;method_60662()Lnet/minecraft/class_2561;
official a
Lali$a;a()Lwy;
-
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 thetype
record component.- Returns:
- the value of the
type
record component
-
url
Returns the value of theurl
record component.- Returns:
- the value of the
url
record component
-