Item Documentation - minecraft:use_modifiers

minecraft:use_modifiers determines how long an item takes to use in combination with components such as Shooter, Throwable, or Food.

Parameters

Name Default Value Type Description
movement_modifier Float Modifier value to scale the players movement speed when item is in use.
use_duration Float How long the item takes to use in seconds.