2014-07-11 00:52:05 +00:00
|
|
|
package WayofTime.alchemicalWizardry.api.harvest;
|
|
|
|
|
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
import net.minecraftforge.common.IPlantable;
|
|
|
|
|
|
|
|
public interface IHarvestHandler
|
|
|
|
{
|
2014-07-15 23:23:57 +00:00
|
|
|
/**
|
|
|
|
* A handler that is used to harvest and replant the block at the specified location
|
|
|
|
*
|
|
|
|
* @param world
|
|
|
|
* @param xCoord
|
|
|
|
* @param yCoord
|
|
|
|
* @param zCoord
|
|
|
|
* @param block block at this given location
|
|
|
|
* @param meta meta at this given location
|
|
|
|
* @return true if successfully harvested, false if not
|
|
|
|
*/
|
2014-07-11 00:52:05 +00:00
|
|
|
public boolean harvestAndPlant(World world, int xCoord, int yCoord, int zCoord, Block block, int meta);
|
|
|
|
}
|