Package forestry.api.farming
Interface IFarmableFactory
public interface IFarmableFactory
Used to construct a farmable when farm registry is complete.
-
Method Summary
-
Method Details
-
create
IFarmable create(net.minecraft.world.item.Item germling, com.google.common.collect.ImmutableSet<net.minecraft.world.item.Item> windfall) Creates a new instance of farmable when farm registration is finished.- Parameters:
germling- Germling for this farmable. Used forIFarmable.isGermling(net.minecraft.world.item.ItemStack), but feel free to ignore.windfall- The set of all windfall items produced by this farmable. Used forIFarmable.isWindfall(net.minecraft.world.item.ItemStack).- Returns:
- A new instance of farmable.
-