Table of Contents

minecraft:use_duration

The minecraft:use_duration item component allows its user to start using the item for a given amount of ticks, and finishes using the item afterwards. This item component is usually combined with minecraft:consumable and minecraft:food.

Fields

Name Description Type Default Value
ticks How long to use the item for before finishing. A positive integer

Example

{
  "ticks": 40
}