Defines the Potato item (potato) of the Farming plugin, a food item that restores 5 hunger.

Summary

Methods

Lets the item be dropped, with no extra effect.
Lets the item be eaten; its hunger and other effects come from the item fields.

Methods

Lets the item be dropped, with no extra effect.

Parameters

  • player
  • position

Lets the item be eaten; its hunger and other effects come from the item fields.

Parameters

  • player
  • itemEntity

Defined in