Skip to content

Item Format

Custom item format to make custom bandages.

bandage

Parameters

NameTypeDescription
bandagearray[Effect Instance]List of effects to apply when used.

Effect Instance

Parameters

NameTypeDescription
effectTechnical NameSpecifies the effect to be added.
durationintegerSpecifies the effect's duration in seconds
amplifierintegerSpecifies the number of additional levels to add to the effect.

Example

mcfunction
give @s bow{bandage:[{"effect":"speed", "duration":2, "amplifier":1}]}

Not associated with or approved by Mojang Studios or Microsoft