Defines the Paracetamol medical item (paracetamol) of the Diseases plugin, which cures a fever when it is swallowed or given to the player being looked at with its Give action.

Summary

Methods

Gives the paracetamol to the player being looked at with "Give", curing their fever.
Lets the item be dropped, with no extra effect.
Cures the player's fever.

Methods

Gives the paracetamol to the player being looked at with "Give", curing their fever.

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 fever.

Parameters

  • player
  • itemEntity

Defined in