Uses of Record Class
net.minecraft.component.type.WrittenBookContentComponent
Packages that use WrittenBookContentComponent
Package
Description
-
Uses of WrittenBookContentComponent in net.minecraft.component
Fields in net.minecraft.component with type parameters of type WrittenBookContentComponentModifier and TypeFieldDescriptionstatic final ComponentType<WrittenBookContentComponent> DataComponentTypes.WRITTEN_BOOK_CONTENT -
Uses of WrittenBookContentComponent in net.minecraft.component.type
Fields in net.minecraft.component.type declared as WrittenBookContentComponentModifier and TypeFieldDescriptionstatic final WrittenBookContentComponentWrittenBookContentComponent.DEFAULTFields in net.minecraft.component.type with type parameters of type WrittenBookContentComponentModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<WrittenBookContentComponent> WrittenBookContentComponent.CODECstatic final PacketCodec<RegistryByteBuf, WrittenBookContentComponent> WrittenBookContentComponent.PACKET_CODECMethods in net.minecraft.component.type that return WrittenBookContentComponentModifier and TypeMethodDescriptionWrittenBookContentComponent.asResolved()WrittenBookContentComponent.copy()WrittenBookContentComponent.resolve(ServerCommandSource source, @Nullable PlayerEntity player) WrittenBookContentComponent.withPages(List<RawFilteredPair<Text>> list) -
Uses of WrittenBookContentComponent in net.minecraft.loot.function
Methods in net.minecraft.loot.function that return WrittenBookContentComponentModifier and TypeMethodDescriptionprivate WrittenBookContentComponentSetBookCoverLootFunction.apply(WrittenBookContentComponent current) SetWrittenBookPagesLootFunction.apply(WrittenBookContentComponent current) Methods in net.minecraft.loot.function with parameters of type WrittenBookContentComponentModifier and TypeMethodDescriptionprivate WrittenBookContentComponentSetBookCoverLootFunction.apply(WrittenBookContentComponent current) SetWrittenBookPagesLootFunction.apply(WrittenBookContentComponent current) -
Uses of WrittenBookContentComponent in net.minecraft.predicate.item
Methods in net.minecraft.predicate.item that return types with arguments of type WrittenBookContentComponentMethods in net.minecraft.predicate.item with parameters of type WrittenBookContentComponentModifier and TypeMethodDescriptionbooleanWrittenBookContentPredicate.test(ItemStack itemStack, WrittenBookContentComponent writtenBookContentComponent)