Type@ember/types
types.EntityClickEvent
A player right-clicking or hitting an entity. spend is as on UseEvent, for the hand that clicked; an attack always uses the main hand.
Fields
Methods
entityClickEvent:spend(count: number?) -> booleanTakes count items, one if nil, from the hand that clicked; returns whether it could.
Range: count: 1..99