Uses of Record Class
net.minecraft.text.RawFilteredPair
Packages that use RawFilteredPair
Package
Description
-
Uses of RawFilteredPair in net.minecraft.component.type
Fields in net.minecraft.component.type declared as RawFilteredPairModifier and TypeFieldDescriptionprivate final RawFilteredPair
<String> WrittenBookContentComponent.title
The field for thetitle
record component.Fields in net.minecraft.component.type with type parameters of type RawFilteredPairModifier 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
Methods in net.minecraft.component.type that return RawFilteredPairModifier and TypeMethodDescriptionWrittenBookContentComponent.title()
Returns the value of thetitle
record component.Methods in net.minecraft.component.type that return types with arguments of type RawFilteredPairModifier 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) Methods in net.minecraft.component.type with parameters of type RawFilteredPairModifier and TypeMethodDescriptionprivate static Optional
<RawFilteredPair<Text>> WrittenBookContentComponent.resolve
(ServerCommandSource source, @Nullable PlayerEntity player, RawFilteredPair<Text> page) Method parameters in net.minecraft.component.type with type arguments of type RawFilteredPairModifier and TypeMethodDescriptionBookContent.withPages
(List<RawFilteredPair<T>> pages) WritableBookContentComponent.withPages
(List<RawFilteredPair<String>> list) WrittenBookContentComponent.withPages
(List<RawFilteredPair<Text>> list) Constructors in net.minecraft.component.type with parameters of type RawFilteredPairModifierConstructorDescriptionWrittenBookContentComponent
(RawFilteredPair<String> rawFilteredPair, String string, int int2, List<RawFilteredPair<Text>> list, boolean bool) Constructor parameters in net.minecraft.component.type with type arguments of type RawFilteredPairModifierConstructorDescriptionCreates 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
Fields in net.minecraft.loot.function with type parameters of type RawFilteredPairModifier and TypeFieldDescriptionprivate final List
<RawFilteredPair<String>> SetWritableBookPagesLootFunction.pages
private final List
<RawFilteredPair<Text>> SetWrittenBookPagesLootFunction.pages
private final Optional
<RawFilteredPair<String>> SetBookCoverLootFunction.title
Constructor parameters in net.minecraft.loot.function with type arguments of type RawFilteredPairModifierConstructorDescriptionSetBookCoverLootFunction
(List<LootCondition> conditions, Optional<RawFilteredPair<String>> title, Optional<String> author, Optional<Integer> generation) -
Uses of RawFilteredPair in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type RawFilteredPairModifier 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.Methods in net.minecraft.predicate.item that return types with arguments of type RawFilteredPairModifier 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.Methods in net.minecraft.predicate.item with parameters of type RawFilteredPairModifier and TypeMethodDescriptionboolean
WritableBookContentPredicate.RawStringPredicate.test
(RawFilteredPair<String> rawFilteredPair) boolean
WrittenBookContentPredicate.RawTextPredicate.test
(RawFilteredPair<Text> rawFilteredPair) Constructor parameters in net.minecraft.predicate.item with type arguments of type RawFilteredPairModifierConstructorDescriptionWritableBookContentPredicate
(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
Methods in net.minecraft.server.network that return RawFilteredPairModifier and TypeMethodDescriptionprivate RawFilteredPair
<String> ServerPlayNetworkHandler.toRawFilteredPair
(FilteredMessage message) -
Uses of RawFilteredPair in net.minecraft.text
Methods in net.minecraft.text that return RawFilteredPairModifier and TypeMethodDescription<U> RawFilteredPair
<U> static RawFilteredPair
<String> RawFilteredPair.of
(FilteredMessage message) static <T> RawFilteredPair
<T> RawFilteredPair.of
(T raw) Methods in net.minecraft.text that return types with arguments of type RawFilteredPairModifier 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>>