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 cub
intermediary net/minecraft/class_9290
named net/minecraft/class_9290
official d
intermediary comp_2400
named lines
official e
intermediary comp_2401
named styledLines
  • Field Details

    • lines

      private final List<Text> lines
      The field for the lines record component.
    • styledLines

      private final List<Text> styledLines
      The field for the styledLines record component.
    • field_49340

      public static final class_9290 field_49340
      Mappings:
      Namespace Name Mixin selector
      official a Lcub;a:Lcub;
      intermediary field_49340 Lnet/minecraft/class_9290;field_49340:Lnet/minecraft/class_9290;
      named field_49340 Lnet/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 f Lcub;f:I
      intermediary field_49343 Lnet/minecraft/class_9290;field_49343:I
      named field_49343 Lnet/minecraft/class_9290;field_49343:I
    • field_49344

      private static final Style field_49344
      Mappings:
      Namespace Name Mixin selector
      official g Lcub;g:Lxd;
      intermediary field_49344 Lnet/minecraft/class_9290;field_49344:Lnet/minecraft/class_2583;
      named field_49344 Lnet/minecraft/class_9290;field_49344:Lnet/minecraft/text/Style;
    • field_49341

      public static final com.mojang.serialization.Codec<class_9290> field_49341
      Mappings:
      Namespace Name Mixin selector
      official b Lcub;b:Lcom/mojang/serialization/Codec;
      intermediary field_49341 Lnet/minecraft/class_9290;field_49341:Lcom/mojang/serialization/Codec;
      named field_49341 Lnet/minecraft/class_9290;field_49341:Lcom/mojang/serialization/Codec;
    • field_49342

      public static final PacketCodec<RegistryByteBuf,class_9290> field_49342
      Mappings:
      Namespace Name Mixin selector
      official c Lcub;c:Lye;
      intermediary field_49342 Lnet/minecraft/class_9290;field_49342:Lnet/minecraft/class_9139;
      named field_49342 Lnet/minecraft/class_9290;field_49342:Lnet/minecraft/network/codec/PacketCodec;
  • Constructor Details

  • Method Details

    • method_57499

      public class_9290 method_57499(Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Lcub;a(Lwg;)Lcub;
      intermediary method_57499 Lnet/minecraft/class_9290;method_57499(Lnet/minecraft/class_2561;)Lnet/minecraft/class_9290;
      named method_57499 Lnet/minecraft/class_9290;method_57499(Lnet/minecraft/text/Text;)Lnet/minecraft/class_9290;
    • method_57409

      public void method_57409(Consumer<Text> consumer, TooltipContext tooltipContext)
      Specified by:
      method_57409 in interface class_9299
      Mappings:
      Namespace Name Mixin selector
      official a Lcuj;a(Ljava/util/function/Consumer;Lcsz;)V
      intermediary method_57409 Lnet/minecraft/class_9299;method_57409(Ljava/util/function/Consumer;Lnet/minecraft/class_1836;)V
      named method_57409 Lnet/minecraft/class_9299;method_57409(Ljava/util/function/Consumer;Lnet/minecraft/client/item/TooltipContext;)V
    • 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.
    • lines

      public List<Text> lines()
      Returns the value of the lines record component.
      Returns:
      the value of the lines record component
    • styledLines

      public List<Text> styledLines()
      Returns the value of the styledLines record component.
      Returns:
      the value of the styledLines record component