Package net.minecraft
Record Class class_9302
java.lang.Object
java.lang.Record
net.minecraft.class_9302
- Record Components:
title--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 cumintermediary net/minecraft/class_9302named net/minecraft/class_9302official iintermediary comp_2419named titleofficial jintermediary comp_2420named authorofficial kintermediary comp_2421named generationofficial lintermediary comp_2422named pagesofficial mintermediary comp_2423named resolved
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for theauthorrecord component.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.mojang.serialization.Codec<class_9302> static final PacketCodec<RegistryByteBuf, class_9302> private static final com.mojang.serialization.Codec<class_9262<Text>> private static final com.mojang.serialization.Codec<List<class_9262<Text>>> private final intThe field for thegenerationrecord component.private final List<class_9262<Text>> The field for thepagesrecord component.private final booleanThe field for theresolvedrecord component.private final class_9262<String> The field for thetitlerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9302(class_9262<String> class_9262, String string, int int2, List<class_9262<Text>> list, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionauthor()Returns the value of theauthorrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thegenerationrecord component.final inthashCode()Returns a hash code value for this object.method_57521(ServerCommandSource serverCommandSource, @Nullable PlayerEntity playerEntity) private static Optional<class_9262<Text>> method_57522(ServerCommandSource serverCommandSource, @Nullable PlayerEntity playerEntity, class_9262<Text> class_9262) private static booleanmethod_57524(Text text, RegistryWrapper.WrapperLookup wrapperLookup) method_57525(boolean bool) pages()Returns the value of thepagesrecord component.booleanresolved()Returns the value of theresolvedrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
title
The field for thetitlerecord component. -
author
The field for theauthorrecord component. -
generation
private final int generationThe field for thegenerationrecord component. -
pages
The field for thepagesrecord component. -
resolved
private final boolean resolvedThe field for theresolvedrecord component. -
field_49375
public static final int field_49375- See Also:
- Mappings:
Namespace Name Mixin selector official aLcum;a:Iintermediary field_49375Lnet/minecraft/class_9302;field_49375:Inamed field_49375Lnet/minecraft/class_9302;field_49375:I
-
field_49376
public static final int field_49376- See Also:
- Mappings:
Namespace Name Mixin selector official bLcum;b:Iintermediary field_49376Lnet/minecraft/class_9302;field_49376:Inamed field_49376Lnet/minecraft/class_9302;field_49376:I
-
field_49377
public static final int field_49377- See Also:
- Mappings:
Namespace Name Mixin selector official cLcum;c:Iintermediary field_49377Lnet/minecraft/class_9302;field_49377:Inamed field_49377Lnet/minecraft/class_9302;field_49377:I
-
field_49378
public static final int field_49378- See Also:
- Mappings:
Namespace Name Mixin selector official dLcum;d:Iintermediary field_49378Lnet/minecraft/class_9302;field_49378:Inamed field_49378Lnet/minecraft/class_9302;field_49378:I
-
field_49379
public static final int field_49379- See Also:
- Mappings:
Namespace Name Mixin selector official eLcum;e:Iintermediary field_49379Lnet/minecraft/class_9302;field_49379:Inamed field_49379Lnet/minecraft/class_9302;field_49379:I
-
field_49380
public static final int field_49380- See Also:
- Mappings:
Namespace Name Mixin selector official fLcum;f:Iintermediary field_49380Lnet/minecraft/class_9302;field_49380:Inamed field_49380Lnet/minecraft/class_9302;field_49380:I
-
field_49383
- Mappings:
Namespace Name Mixin selector official nLcum;n:Lcom/mojang/serialization/Codec;intermediary field_49383Lnet/minecraft/class_9302;field_49383:Lcom/mojang/serialization/Codec;named field_49383Lnet/minecraft/class_9302;field_49383:Lcom/mojang/serialization/Codec;
-
field_49384
- Mappings:
Namespace Name Mixin selector official oLcum;o:Lcom/mojang/serialization/Codec;intermediary field_49384Lnet/minecraft/class_9302;field_49384:Lcom/mojang/serialization/Codec;named field_49384Lnet/minecraft/class_9302;field_49384:Lcom/mojang/serialization/Codec;
-
field_49381
- Mappings:
Namespace Name Mixin selector official gLcum;g:Lcom/mojang/serialization/Codec;intermediary field_49381Lnet/minecraft/class_9302;field_49381:Lcom/mojang/serialization/Codec;named field_49381Lnet/minecraft/class_9302;field_49381:Lcom/mojang/serialization/Codec;
-
field_49382
- Mappings:
Namespace Name Mixin selector official hLcum;h:Lye;intermediary field_49382Lnet/minecraft/class_9302;field_49382:Lnet/minecraft/class_9139;named field_49382Lnet/minecraft/class_9302;field_49382:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
class_9302
public class_9302(class_9262<String> class_9262, String string, int int2, List<class_9262<Text>> list, boolean bool)
-
-
Method Details
-
method_57519
- Mappings:
Namespace Name Mixin selector official aLcum;a()Lcum;intermediary method_57519Lnet/minecraft/class_9302;method_57519()Lnet/minecraft/class_9302;named method_57519Lnet/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 aLcum;a(Ldu;Lcjt;)Lcum;intermediary method_57521Lnet/minecraft/class_9302;method_57521(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;)Lnet/minecraft/class_9302;named method_57521Lnet/minecraft/class_9302;method_57521(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/class_9302;
-
method_57527
- Mappings:
Namespace Name Mixin selector official bLcum;b()Lcum;intermediary method_57527Lnet/minecraft/class_9302;method_57527()Lnet/minecraft/class_9302;named method_57527Lnet/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 aLcum;a(Ldu;Lcjt;Laqj;)Ljava/util/Optional;intermediary method_57522Lnet/minecraft/class_9302;method_57522(Lnet/minecraft/class_2168;Lnet/minecraft/class_1657;Lnet/minecraft/class_9262;)Ljava/util/Optional;named method_57522Lnet/minecraft/class_9302;method_57522(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/class_9262;)Ljava/util/Optional;
-
method_57524
- Mappings:
Namespace Name Mixin selector official aLcum;a(Lwg;Lin$a;)Zintermediary method_57524Lnet/minecraft/class_9302;method_57524(Lnet/minecraft/class_2561;Lnet/minecraft/class_7225$class_7874;)Znamed method_57524Lnet/minecraft/class_9302;method_57524(Lnet/minecraft/text/Text;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Z
-
method_57525
- Mappings:
Namespace Name Mixin selector official aLcum;a(Z)Ljava/util/List;intermediary method_57525Lnet/minecraft/class_9302;method_57525(Z)Ljava/util/List;named method_57525Lnet/minecraft/class_9302;method_57525(Z)Ljava/util/List;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
author
Returns the value of theauthorrecord component.- Returns:
- the value of the
authorrecord component
-
generation
public int generation()Returns the value of thegenerationrecord component.- Returns:
- the value of the
generationrecord component
-
pages
Returns the value of thepagesrecord component.- Returns:
- the value of the
pagesrecord component
-
resolved
public boolean resolved()Returns the value of theresolvedrecord component.- Returns:
- the value of the
resolvedrecord component
-