Package net.minecraft
Record Class class_9290
java.lang.Object
java.lang.Record
net.minecraft.class_9290
- Record Components:
lines-styledLines-
- All Implemented Interfaces:
class_9299
public record class_9290(List<Text> lines, List<Text> styledLines)
extends Record
implements class_9299
- Mappings:
Namespace Name official cubintermediary net/minecraft/class_9290named net/minecraft/class_9290official dintermediary comp_2400named linesofficial eintermediary comp_2401named styledLines
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final class_9290static final com.mojang.serialization.Codec<class_9290> static final PacketCodec<RegistryByteBuf, class_9290> private static final intprivate static final StyleThe field for thelinesrecord component.The field for thestyledLinesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lines()Returns the value of thelinesrecord component.voidmethod_57409(Consumer<Text> consumer, TooltipContext tooltipContext) method_57499(Text text) Returns the value of thestyledLinesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
lines
The field for thelinesrecord component. -
styledLines
The field for thestyledLinesrecord component. -
field_49340
- Mappings:
Namespace Name Mixin selector official aLcub;a:Lcub;intermediary field_49340Lnet/minecraft/class_9290;field_49340:Lnet/minecraft/class_9290;named field_49340Lnet/minecraft/class_9290;field_49340:Lnet/minecraft/class_9290;
-
field_49343
private static final int field_49343- See Also:
- Mappings:
Namespace Name Mixin selector official fLcub;f:Iintermediary field_49343Lnet/minecraft/class_9290;field_49343:Inamed field_49343Lnet/minecraft/class_9290;field_49343:I
-
field_49344
- Mappings:
Namespace Name Mixin selector official gLcub;g:Lxd;intermediary field_49344Lnet/minecraft/class_9290;field_49344:Lnet/minecraft/class_2583;named field_49344Lnet/minecraft/class_9290;field_49344:Lnet/minecraft/text/Style;
-
field_49341
- Mappings:
Namespace Name Mixin selector official bLcub;b:Lcom/mojang/serialization/Codec;intermediary field_49341Lnet/minecraft/class_9290;field_49341:Lcom/mojang/serialization/Codec;named field_49341Lnet/minecraft/class_9290;field_49341:Lcom/mojang/serialization/Codec;
-
field_49342
- Mappings:
Namespace Name Mixin selector official cLcub;c:Lye;intermediary field_49342Lnet/minecraft/class_9290;field_49342:Lnet/minecraft/class_9139;named field_49342Lnet/minecraft/class_9290;field_49342:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
class_9290
-
class_9290
-
-
Method Details
-
method_57499
- Mappings:
Namespace Name Mixin selector official aLcub;a(Lwg;)Lcub;intermediary method_57499Lnet/minecraft/class_9290;method_57499(Lnet/minecraft/class_2561;)Lnet/minecraft/class_9290;named method_57499Lnet/minecraft/class_9290;method_57499(Lnet/minecraft/text/Text;)Lnet/minecraft/class_9290;
-
method_57409
- Specified by:
method_57409in interfaceclass_9299- Mappings:
Namespace Name Mixin selector official aLcuj;a(Ljava/util/function/Consumer;Lcsz;)Vintermediary method_57409Lnet/minecraft/class_9299;method_57409(Ljava/util/function/Consumer;Lnet/minecraft/class_1836;)Vnamed method_57409Lnet/minecraft/class_9299;method_57409(Ljava/util/function/Consumer;Lnet/minecraft/client/item/TooltipContext;)V
-
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). -
lines
Returns the value of thelinesrecord component.- Returns:
- the value of the
linesrecord component
-
styledLines
Returns the value of thestyledLinesrecord component.- Returns:
- the value of the
styledLinesrecord component
-