Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Latest commit

 

History

History
21 lines (12 loc) · 499 Bytes

File metadata and controls

21 lines (12 loc) · 499 Bytes

ItemLib

⚠️ ItemLib is missing a lot a features and is still in active development! ⚠️

ItemLib is a datapack library that allows items to have code be ran for special actions.

Documentation

Ticking Items

You can create a item that ticks whenever it is held by a player.

give @s diamond{itemlib:{item_ticks:true, tick:"namespace:function"}}

"item_ticks" has to be set to true in order for the "tick" function to be called.

Custom Durability

WIP