Appearance
twine / OnUse
Variable: OnUse โ
constOnUse: (item) =>MethodDecorator
Defined in: twine/src/item/handlers.ts:18
Runs the method as the player when they use item (minecraft:using_item): food, bow, shield... For others use OnRightClick.
Parameters โ
item โ
ItemClassRef
Returns โ
MethodDecorator