Start Using Item Effect - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

effect: startusingitem

[!WARNING] Introduced in 4.0 Beta 18.

Description:

This effect starts "using" the item in the specified hand of a living entity, making it the currently active item. When, for example, it is used on a skeleton, it will cause the bow to start drawing. When used on a player, the client will stop using the item if the right-click ("use item" keybind) is held down. This effect does not guarantee any action, as it depends on the entity and its state.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Type Default
hand Can be mainhand or offhand. String mainhand