Appearance
twine / itemOf
Function: itemOf() โ
itemOf(
item):ItemParts
Defined in: twine/src/item/pack.ts:13
The parts of an item class: the item, its give, holders and upgrades.
ctx.call(itemOf(CrossbowItem).give);
Usable from any module, since items register first. Throws if the item isn't in the build.
Parameters โ
item โ
ItemClassRef