Download
Choose Minecraft Version
26.226.2v4.1.0
Close

Bookshelf

Bookshelf is a library datapack for Minecraft. It's modular, so mapmakers can pick only the parts they need. This helps them create complex systems more easily.

Documentation Ā  Ā  Ā 


šŸ—‚ļø Bookshelf Collection Module

Work with collections in Minecraft datapacks. Map, filter, reduce, find, and transform elements with functional operations.

"Simplicity is the ultimate sophistication."

— Leonardo da Vinci

✨ Features

  • šŸ”„ Transformation: map and flat_map operations to transform collection elements
  • šŸ” Filtering: filter and find operations to select specific elements
  • āœ… Validation: any, all, and none predicates to test collection conditions
  • šŸ“Š Aggregation: count, min, max, and average to compute collection statistics
  • šŸ“‹ Iteration: forEach to execute operations on every element
  • šŸ“¦ Utilities: flatten nested collections into single-level arrays

šŸ“š Read the full documentation

šŸ“– About Bookshelf

This module is part of the Bookshelf Library:

🧩 Find more modules in the Bookshelf organization
šŸ“¦ Get the full Bookshelf Suite

šŸ¤ Get involved

šŸ’¬ Join our Discord community
šŸ›  Contribute via the contribution guide

Smithed

Copyright Ā© 2023-2026 Smithed
Not an official Minecraft product. Not approved by or associated with Mojang Studios