1. Wiki
  2. /Items
  3. /minecraft:use_animation

minecraft:use_animation

Don't want to write this by hand? GodCraft sets minecraft:use_animation for you with a switch.Get GodCraft

Overview

minecraft:use_animation is an item component: it goes in the components object of a custom item. Picks the animation the player shows while using the item, such as eating, drinking or drawing a bow.

Fields

FieldTypeDefaultDescription
valueAnimation"none"The animation name, for example "eat", "drink", "bow", "block" or "spear".

Example

Inside the components object of BP/items/<name>.json (values are the defaults or placeholders):

BP/items/<name>.json
{
  "minecraft:use_animation": {
    "value": "none"
  }
}

Items: Behavior pack

We use cookies to improve your experience and analyse site traffic. Learn more