Test with stuff + Forestry potential support
This commit is contained in:
parent
5b05cf651b
commit
bd26e441cb
174 changed files with 5602 additions and 0 deletions
34
BM_src/forestry/api/farming/IFarmLogic.java
Normal file
34
BM_src/forestry/api/farming/IFarmLogic.java
Normal file
|
@ -0,0 +1,34 @@
|
|||
package forestry.api.farming;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public interface IFarmLogic {
|
||||
|
||||
int getFertilizerConsumption();
|
||||
|
||||
int getWaterConsumption(float hydrationModifier);
|
||||
|
||||
boolean isAcceptedResource(ItemStack itemstack);
|
||||
|
||||
boolean isAcceptedGermling(ItemStack itemstack);
|
||||
|
||||
Collection<ItemStack> collect();
|
||||
|
||||
boolean cultivate(int x, int y, int z, ForgeDirection direction, int extent);
|
||||
|
||||
Collection<ICrop> harvest(int x, int y, int z, ForgeDirection direction, int extent);
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
Icon getIcon();
|
||||
|
||||
ResourceLocation getSpriteSheet();
|
||||
|
||||
String getName();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue