Interface IHarvestable
- Namespace
- Vintagestory.GameContent
- Assembly
- VintagestoryAPI.dll
Currently only the knife looks for this interface
public interface IHarvestable
- Extension Methods
Properties
HarvestAnimation
string HarvestAnimation { get; }
Property Value
HarvestableSound
AssetLocation HarvestableSound { get; }
Property Value
Methods
GetHarvestDuration(ItemSlot, Entity)
float GetHarvestDuration(ItemSlot slot, Entity forEntity)
Parameters
Returns
IsHarvestable(ItemSlot, Entity)
bool IsHarvestable(ItemSlot slot, Entity forEntity)
Parameters
Returns
SetHarvested(IPlayer, float)
void SetHarvested(IPlayer byPlayer, float dropQuantityMultiplier = 1)