Item Format
Custom item format to make custom bandages.
bandage
Parameters
Name | Type | Description |
---|---|---|
bandage | array[Effect Instance] | List of effects to apply when used. |
Effect Instance
Parameters
Name | Type | Description |
---|---|---|
effect | Technical Name | Specifies the effect to be added. |
duration | integer | Specifies the effect's duration in seconds |
amplifier | integer | Specifies the number of additional levels to add to the effect. |
Example
mcfunction
give @s bow{bandage:[{"effect":"speed", "duration":2, "amplifier":1}]}