The item shelf mod is a simple mod that adds to shelves that can hold up to 4 or 6 items. This small limitation is due to the fact that shelves show the items they are holding using entities. The entities are purely static and consume 0 CPU (like the ones in itemframes for example), but still the limitation is to avoid lag.
There are no crafting recipes at the moment. To get an item shelf, play on creative or use:
Code: Select all
/giveme itemshelf:small_shelf
Code: Select all
/giveme itemshelf:large_shelf
Screenshot:
Developers API:
Developers using this mod can register a particular node to use the item shelf functionality. To do that, the following function is used:
Code: Select all
itemshelf.register_shelf(name, def)
License:
MIT
Dependencies:
- default
Download here: https://github.com/hkzorman/itemshelf/a ... master.zip
Or, browse the code here: https://github.com/hkzorman/itemshelf