Package net.minecraft

Record Class class_9302

java.lang.Object
java.lang.Record
net.minecraft.class_9302
Record Components:
title -
author -
generation -
pages -
resolved -

public record class_9302(class_9262<String> title, String author, int generation, List<class_9262<Text>> pages, boolean resolved) extends Record
Mappings:
Namespace Name
official cum
intermediary net/minecraft/class_9302
named net/minecraft/class_9302
official i
intermediary comp_2419
named title
official j
intermediary comp_2420
named author
official k
intermediary comp_2421
named generation
official l
intermediary comp_2422
named pages
official m
intermediary comp_2423
named resolved
  • Field Details

    • title

      private final class_9262<String> title
      The field for the title record component.
    • author

      private final String author
      The field for the author record component.
    • generation

      private final int generation
      The field for the generation record component.
    • pages

      private final List<class_9262<Text>> pages
      The field for the pages record component.
    • resolved

      private final boolean resolved
      The field for the resolved record component.
    • field_49375

      public static final int field_49375
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcum;a:I
      intermediary field_49375 Lnet/minecraft/class_9302;field_49375:I
      named field_49375 Lnet/minecraft/class_9302;field_49375:I
    • field_49376

      public static final int field_49376
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcum;b:I
      intermediary field_49376 Lnet/minecraft/class_9302;field_49376:I
      named field_49376 Lnet/minecraft/class_9302;field_49376:I
    • field_49377

      public static final int field_49377
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcum;c:I
      intermediary field_49377 Lnet/minecraft/class_9302;field_49377:I
      named field_49377 Lnet/minecraft/class_9302;field_49377:I
    • field_49378

      public static final int field_49378
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lcum;d:I
      intermediary field_49378 Lnet/minecraft/class_9302;field_49378:I
      named field_49378 Lnet/minecraft/class_9302;field_49378:I
    • field_49379

      public static final int field_49379
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lcum;e:I
      intermediary field_49379 Lnet/minecraft/class_9302;field_49379:I
      named field_49379 Lnet/minecraft/class_9302;field_49379:I
    • field_49380

      public static final int field_49380
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lcum;f:I
      intermediary field_49380 Lnet/minecraft/class_9302;field_49380:I
      named field_49380 Lnet/minecraft/class_9302;field_49380:I
    • field_49383

      private static final com.mojang.serialization.Codec<class_9262<Text>> field_49383
      Mappings:
      Namespace Name Mixin selector
      official n Lcum;n:Lcom/mojang/serialization/Codec;
      intermediary field_49383 Lnet/minecraft/class_9302;field_49383:Lcom/mojang/serialization/Codec;
      named field_49383 Lnet/minecraft/class_9302;field_49383:Lcom/mojang/serialization/Codec;
    • field_49384

      private static final com.mojang.serialization.Codec<List<class_9262<Text>>> field_49384
      Mappings:
      Namespace Name Mixin selector
      official o Lcum;o:Lcom/mojang/serialization/Codec;
      intermediary field_49384 Lnet/minecraft/class_9302;field_49384:Lcom/mojang/serialization/Codec;
      named field_49384 Lnet/minecraft/class_9302;field_49384:Lcom/mojang/serialization/Codec;
    • field_49381

      public static final com.mojang.serialization.Codec<class_9302> field_49381
      Mappings:
      Namespace Name Mixin selector
      official g Lcum;g:Lcom/mojang/serialization/Codec;
      intermediary field_49381 Lnet/minecraft/class_9302;field_49381:Lcom/mojang/serialization/Codec;
      named field_49381 Lnet/minecraft/class_9302;field_49381:Lcom/mojang/serialization/Codec;
    • field_49382

      public static final PacketCodec<RegistryByteBuf,class_9302> field_49382
      Mappings:
      Namespace Name Mixin selector
      official h Lcum;h:Lye;
      intermediary field_49382 Lnet/minecraft/class_9302;field_49382:Lnet/minecraft/class_9139;
      named field_49382 Lnet/minecraft/class_9302;field_49382:Lnet/minecraft/network/codec/PacketCodec;
  • Constructor Details

  • Method Details

    • method_57519

      @Nullable public @Nullable class_9302 method_57519()
      Mappings:
      Namespace Name Mixin selector
      official a Lcum;a()Lcum;
      intermediary method_57519 Lnet/minecraft/class_9302;method_57519()Lnet/minecraft/class_9302;
      named method_57519 Lnet/minecraft/class_9302;method_57519()Lnet/minecraft/class_9302;
    • method_57521

      @Nullable public @Nullable class_9302 method_57521(ServerCommandSource serverCommandSource, @Nullable @Nullable PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcum;a(Ldu;Lcjt;)Lcum;
      intermediary method_57521 Lnet/minecraft/class_9302;method_57521(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;)Lnet/minecraft/class_9302;
      named method_57521 Lnet/minecraft/class_9302;method_57521(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/class_9302;
    • method_57527

      public class_9302 method_57527()
      Mappings:
      Namespace Name Mixin selector
      official b Lcum;b()Lcum;
      intermediary method_57527 Lnet/minecraft/class_9302;method_57527()Lnet/minecraft/class_9302;
      named method_57527 Lnet/minecraft/class_9302;method_57527()Lnet/minecraft/class_9302;
    • method_57522

      private static Optional<class_9262<Text>> method_57522(ServerCommandSource serverCommandSource, @Nullable @Nullable PlayerEntity playerEntity, class_9262<Text> class_9262)
      Mappings:
      Namespace Name Mixin selector
      official a Lcum;a(Ldu;Lcjt;Laqj;)Ljava/util/Optional;
      intermediary method_57522 Lnet/minecraft/class_9302;method_57522(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;Lnet/minecraft/class_9262;)Ljava/util/Optional;
      named method_57522 Lnet/minecraft/class_9302;method_57522(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/class_9262;)Ljava/util/Optional;
    • method_57524

      private static boolean method_57524(Text text, RegistryWrapper.WrapperLookup wrapperLookup)
      Mappings:
      Namespace Name Mixin selector
      official a Lcum;a(Lwg;Lin$a;)Z
      intermediary method_57524 Lnet/minecraft/class_9302;method_57524(Lnet/minecraft/class_2561;Lnet/minecraft/class_7225$class_7874;)Z
      named method_57524 Lnet/minecraft/class_9302;method_57524(Lnet/minecraft/text/Text;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Z
    • method_57525

      public List<Text> method_57525(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lcum;a(Z)Ljava/util/List;
      intermediary method_57525 Lnet/minecraft/class_9302;method_57525(Z)Ljava/util/List;
      named method_57525 Lnet/minecraft/class_9302;method_57525(Z)Ljava/util/List;
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • title

      public class_9262<String> title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • author

      public String author()
      Returns the value of the author record component.
      Returns:
      the value of the author record component
    • generation

      public int generation()
      Returns the value of the generation record component.
      Returns:
      the value of the generation record component
    • pages

      public List<class_9262<Text>> pages()
      Returns the value of the pages record component.
      Returns:
      the value of the pages record component
    • resolved

      public boolean resolved()
      Returns the value of the resolved record component.
      Returns:
      the value of the resolved record component