User Tools

Site Tools


items:item_components:steering

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
items:item_components:steering [2024/04/19 13:27] – removed - external edit (Unknown date) 127.0.0.1items:item_components:steering [2024/04/19 13:27] (current) – ↷ Page moved from item_components:steering to items:item_components:steering errorcraft
Line 1: Line 1:
 +====== minecraft:steering ======
 +The ''minecraft:steering'' item component allows this item to control steerable entities.
  
 +
 +===== Fields =====
 +^  Name  ^  Description  ^  Type  ^  Default Value  ^
 +| ''target'' | The entity to steer. | An [[mc>Java_Edition_data_values#Entities|entity type]] | |
 +| ''damage_per_use'' | The damage applied after using the item while riding ''target''. | An optional, non-negative integer | ''1'' |
 +
 +
 +===== Example =====
 +<code javascript>
 +{
 +  "target": "minecraft:pig",
 +  "damage_per_use": 7
 +}
 +</code>