Entity Documentation - minecraft:item_controllable

minecraft:item_controllable allows an entity to be controlled by an item when riding this entity.

Parameters

Name Default Value Type Description
control_items not set List List of items that can be used to control this entity.

Example

"minecraft:item_controllable":{
    "control_items:":"iron_sword"
}

Vanilla entities examples

pig

"minecraft:item_controllable": { "control_items": "carrotOnAStick" },

Vanilla entities using minecraft:item_controllable