void ClearEntityEffects(void)
Removes all currently applied entity effects (used when drinking milk)
bool IsGameModeCreative(void) const
Returns true if the player is in Creative mode, either explicitly, or by inheriting from current worl...
void ReplaceOneEquippedItemTossRest(const cItem &)
Removes one item from the the current equipped item stack, and attempts to add the specified item sta...
constexpr cItemHandler(int a_ItemType)
virtual bool EatItem(cPlayer *a_Player, cItem *a_Item) const override
Lets the player eat a selected item.
virtual bool IsDrinkable(short a_ItemDamage) const override
Indicates if this item is drinkable.