Options
All
  • Public
  • Public/Protected
  • All
Menu

Object used in FoodParamsDescription.effects. Describes a single potion effect added to the player who had eaten a specific food item.

since

1.0

Hierarchy

  • FoodEffect

Index

Properties

amplifier?: number

Potion effect's level, defaults to 1.

chance?: number

Chance for this potion effect to be applied, defaults to 1.0 (100%).

duration?: number

Potion effect's duration in seconds, defaults to 1.

Potion effect's lowercase string name.

Generated using TypeDoc