Defines the Pack of Antibiotics medical item (antibiotics) of the Diseases plugin, which cures fever, cough and pneumonia and restores health when it is swallowed or given to the player being looked at with its Give action.

Summary

Methods

Gives the antibiotics to the player being looked at with "Give", curing and healing them.
Lets the item be dropped, with no extra effect.
Cures fever, cough or pneumonia, heals the player and fires PlayerHealed.

Methods

Gives the antibiotics to the player being looked at with "Give", curing and healing them.

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 fever, cough or pneumonia, heals the player and fires PlayerHealed.

Parameters

  • player
  • itemEntity

Defined in