actions:action_types:modify_item
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
actions:action_types:modify_item [2024/04/30 18:44] – created errorcraft | actions:action_types:modify_item [2024/05/15 13:01] (current) – fix loot context type link errorcraft | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== minecraft: | ====== minecraft: | ||
The '' | The '' | ||
- | The action is unsuccessful if no item stack is supplied to the action context, or if the supplied item stack is empty. | + | The action is unsuccessful if no item stack is supplied to the action context or if the supplied item stack is empty. |
- | Otherwise | + | In all other cases it's successful, regardless of the changes made to the item stack. |
===== Fields ===== | ===== Fields ===== | ||
^ Name ^ Description | ^ Name ^ Description | ||
- | | '' | + | | '' |
- | | '' | + | | '' |
Line 14: | Line 14: | ||
<code javascript> | <code javascript> | ||
{ | { | ||
- | | + | " |
- | | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | }, |
- | }, | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | |
- | } | + | |
} | } | ||
} | } | ||
</ | </ |
actions/action_types/modify_item.1714502685.txt.gz · Last modified: 2024/04/30 18:44 by errorcraft