Defines the Pack of Activated Charcoal medical item (activated_coal) of the Diseases plugin, which cures gastritis 30 to 60 seconds after it is swallowed or given to the player being looked at with its Give action.

Summary

Methods

Gives the charcoal to the player being looked at with "Give", curing their gastritis after a delay.
Lets the item be dropped, with no extra effect.
Cures the player's gastritis after 30 to 60 seconds and fires PlayerHealed.

Methods

Gives the charcoal to the player being looked at with "Give", curing their gastritis after a delay.

Fires PlayerHealed with the giver as the healer. Returns false when no player is looked at.

Parameters

  • player
  • name

Lets the item be dropped, with no extra effect.

Parameters

  • player
  • position

Cures the player's gastritis after 30 to 60 seconds and fires PlayerHealed.

Parameters

  • player
  • itemEntity

Defined in