User Tools

Site Tools


items:item_components:dispensable

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:dispensable [2024/04/19 13:27] – removed - external edit (Unknown date) 127.0.0.1items:item_components:dispensable [2024/04/19 13:27] (current) – ↷ Page moved from item_components:dispensable to items:item_components:dispensable errorcraft
Line 1: Line 1:
 +====== minecraft:dispensable ======
 +The ''minecraft:dispenseable'' item component allows this item to be dispensed as something other than an item in a [[mc>Dispenser]].
 +It dispenses the item based on the specified [[items:dispense_behaviors|dispense behavior]].
  
 +
 +===== Fields =====
 +^  Name  ^  Description  ^  Type  ^  Default Value  ^
 +| ''behavior'' | The behavior to use when dispensing this item. | A [[items:dispense_behaviors|dispense behavior]] | |
 +
 +
 +===== Example =====
 +<code javascript>
 +{
 +  "behavior": "minecraft:equip_entity"
 +}
 +</code>