Uses of Record Class
net.minecraft.text.RawFilteredPair
Package
Description
-
Uses of RawFilteredPair in net.minecraft.component.type
Modifier and TypeFieldDescriptionprivate final RawFilteredPair
<String> WrittenBookContentComponent.title
The field for thetitle
record component.Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<RawFilteredPair<String>> WritableBookContentComponent.PAGE_CODEC
private final List
<RawFilteredPair<String>> WritableBookContentComponent.pages
The field for thepages
record component.private final List
<RawFilteredPair<Text>> WrittenBookContentComponent.pages
The field for thepages
record component.static final com.mojang.serialization.Codec
<List<RawFilteredPair<String>>> WritableBookContentComponent.PAGES_CODEC
static final com.mojang.serialization.Codec
<List<RawFilteredPair<Text>>> WrittenBookContentComponent.PAGES_CODEC
Modifier and TypeMethodDescriptionWrittenBookContentComponent.title()
Returns the value of thetitle
record component.Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec
<RawFilteredPair<Text>> WrittenBookContentComponent.createPageCodec
(com.mojang.serialization.Codec<Text> textCodec) static com.mojang.serialization.Codec
<List<RawFilteredPair<Text>>> WrittenBookContentComponent.createPagesCodec
(com.mojang.serialization.Codec<Text> textCodec) BookContent.pages()
WritableBookContentComponent.pages()
Returns the value of thepages
record component.WrittenBookContentComponent.pages()
Returns the value of thepages
record component.private static Optional
<RawFilteredPair<Text>> WrittenBookContentComponent.resolve
(ServerCommandSource source, @Nullable PlayerEntity player, RawFilteredPair<Text> page) Modifier and TypeMethodDescriptionprivate static Optional
<RawFilteredPair<Text>> WrittenBookContentComponent.resolve
(ServerCommandSource source, @Nullable PlayerEntity player, RawFilteredPair<Text> page) Modifier and TypeMethodDescriptionBookContent.withPages
(List<RawFilteredPair<T>> pages) WritableBookContentComponent.withPages
(List<RawFilteredPair<String>> list) WrittenBookContentComponent.withPages
(List<RawFilteredPair<Text>> list) ModifierConstructorDescriptionWrittenBookContentComponent
(RawFilteredPair<String> rawFilteredPair, String string, int int2, List<RawFilteredPair<Text>> list, boolean bool) ModifierConstructorDescriptionCreates an instance of aWritableBookContentComponent
record class.WrittenBookContentComponent
(RawFilteredPair<String> rawFilteredPair, String string, int int2, List<RawFilteredPair<Text>> list, boolean bool) -
Uses of RawFilteredPair in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final List
<RawFilteredPair<String>> SetWritableBookPagesLootFunction.pages
private final List
<RawFilteredPair<Text>> SetWrittenBookPagesLootFunction.pages
private final Optional
<RawFilteredPair<String>> SetBookCoverLootFunction.title
ModifierConstructorDescriptionSetBookCoverLootFunction
(List<LootCondition> conditions, Optional<RawFilteredPair<String>> title, Optional<String> author, Optional<Integer> generation) -
Uses of RawFilteredPair in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate final Optional
<CollectionPredicate<RawFilteredPair<String>, WritableBookContentPredicate.RawStringPredicate>> WritableBookContentPredicate.pages
The field for thepages
record component.private final Optional
<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> WrittenBookContentPredicate.pages
The field for thepages
record component.Modifier and TypeMethodDescriptionOptional
<CollectionPredicate<RawFilteredPair<String>, WritableBookContentPredicate.RawStringPredicate>> WritableBookContentPredicate.pages()
Returns the value of thepages
record component.WrittenBookContentPredicate.pages()
Returns the value of thepages
record component.Modifier and TypeMethodDescriptionboolean
WritableBookContentPredicate.RawStringPredicate.test
(RawFilteredPair<String> rawFilteredPair) boolean
WrittenBookContentPredicate.RawTextPredicate.test
(RawFilteredPair<Text> rawFilteredPair) ModifierConstructorDescriptionWritableBookContentPredicate
(Optional<CollectionPredicate<RawFilteredPair<String>, WritableBookContentPredicate.RawStringPredicate>> optional) WrittenBookContentPredicate
(Optional<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> optional, Optional<String> optional2, Optional<String> optional3, NumberRange.IntRange intRange, Optional<Boolean> optional4) -
Uses of RawFilteredPair in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate RawFilteredPair
<String> ServerPlayNetworkHandler.toRawFilteredPair
(FilteredMessage message) -
Uses of RawFilteredPair in net.minecraft.text
Modifier and TypeMethodDescription<U> RawFilteredPair
<U> static RawFilteredPair
<String> RawFilteredPair.of
(FilteredMessage message) static <T> RawFilteredPair
<T> RawFilteredPair.of
(T raw) Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<RawFilteredPair<T>> RawFilteredPair.createCodec
(com.mojang.serialization.Codec<T> baseCodec) static <B extends ByteBuf,
T>
PacketCodec<B, RawFilteredPair<T>> RawFilteredPair.createPacketCodec
(PacketCodec<B, T> basePacketCodec) <U> Optional
<RawFilteredPair<U>>