Defines the Corn item (corn) of the Farming plugin, a food item that restores 5 hunger.
Summary
Methods
OnDrop(player, position)shared
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