Item Attributes
potion
This attribute defines the potion effect that is added to the player when eating or drinking the item. It is for food only.
List of potion effects:
- moveSpeed
- moveSlowdown
- digSpeed
- digSlowDown
- damageBoost
- heal
- harm
- jump
- confusion
- regeneration
- resistance
- fireResistance
- waterBreathing
- invisibility
- blindness
- nightVision
- hunger
- weakness
- poison
- wither
Examples
potion[0] = "moveSpeed";
potion[31] = "jump";
potion[31] = "jump";