mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-16 18:44:45 +00:00
21 lines
615 B
Java
21 lines
615 B
Java
/*******************************************************************************
|
|
* Copyright 2011-2014 SirSengir
|
|
*
|
|
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
|
******************************************************************************/
|
|
package forestry.api.farming;
|
|
|
|
import java.util.Collection;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public interface ICrop {
|
|
|
|
/**
|
|
* Harvests this crop. Performs the necessary manipulations to set the crop into a "harvested" state.
|
|
*
|
|
* @return Products harvested.
|
|
*/
|
|
Collection<ItemStack> harvest();
|
|
}
|