Compatibility
Minecraft: Java Edition
26.2
Platforms
Tags
Creators
Details
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.
šļø 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


