There is Reika's implementation for RoC Canola: https://github.com/ReikaKalseki/Rot...f536d32fca1fa3e4/ModInterface/AgriCanola.javaI'm apparently having a dumb moment... do you know of any good source code examples of how to USE your API? I found the example for creating an API wrapper, but that doesn't tell me what I need to do to actually add new plants and seeds to AgriCraft.
There is Reika's implementation for RoC Canola: https://github.com/ReikaKalseki/Rot...f536d32fca1fa3e4/ModInterface/AgriCanola.java
There is also HenryLoenwind's implementation for EnderIOAddons: https://github.com/HenryLoenwind/En...enwind/enderioaddons/plant/EioaCropPlant.java
You either want to create a new ICropPlant object and register it via the api, or implement IAgriCraftPlant in your plant's Block class and IAgriCraftSeed in yor plant's seed Item class and then register the IAgriCraftPlant implementation via the api.
To take the wheat example, Agricraft wheat I beleive only ever yeilds wheat, never seeds. It does also provide a crafting recipe to go from crop > seed if it's needed too. (But due to the spreading and/or cutting mechanics, I really don't find them that useful aside from getting a first seed for things like carrots or potatoes.)Okay, next stupid question: for plants like wheat, where the harvest normally includes both seeds and grain, whatall should ICropPlant.getFruitsOnHarvest() be returning? For that matter, what should ICropPlant.getAllFruits() and ICropPlant.getRandomFruit() be returning--just the grain, or both the grain and the seeds? Or does AgriCraft handle the seed yield somewhere else?
If both, does gain affect grain yield, or just seed yield? In Vanilla, the Fortune enchantment only increases seed yield from wheat crops.
getRandomFruit() is no longer used (as should be made apparent by the javadoc),Okay, next stupid question: for plants like wheat, where the harvest normally includes both seeds and grain, whatall should ICropPlant.getFruitsOnHarvest() be returning? For that matter, what should ICropPlant.getAllFruits() and ICropPlant.getRandomFruit() be returning--just the grain, or both the grain and the seeds? Or does AgriCraft handle the seed yield somewhere else?
If both, does gain affect grain yield, or just seed yield? In Vanilla, the Fortune enchantment only increases seed yield from wheat crops.
No plant drops seeds when harvested with agricraft behaviour, however you are free to do whatever you want of course.Thank you. I am still hoping for some clarification on the wheat sheafs vs seeds drops question, as I've got two crops that (should) act exactly like wheat that way.
...which makes me speculate on the idea of a wheat mutation that yields only seeds, for those chicken farmers out there.
I never said you had to max out everythingI've come to a conclusion that I am of two minds on agricraft.
If one uses it wisely and only uses it to level up a few needed things, and to fill in small missing gaps, it's AMAZING and WONDERFUL and THE BEST THING EVER.
if you are fighting weeds from 1/1/1 wheat seeds all the way to make a complete set of everything... it's a nightmare.
I still love it.
No plant drops seeds when harvested with agricraft behaviour, however you are free to do whatever you want of course.
Vanilla wheat is 1 and yes higher tier is slower growth.I haven't played enough with AgriCraft to remember for sure what default behavior was supposed to be, and I wanted to make ashenwheat and scintilla wheat consistent with vanilla wheat in behavior and yields. I have an alpha version of Akkamaddi's Ashenwheat with AgriCraft support up on CurseForge now. One more thing--if I want slower growth rate, do I make the tier higher? Am I correct in thinking vanilla wheat is tier 2?
Is there a way you can analyse a crop when it's still in the ground? To be frank in a realistic sense, unless you have high tech DNA analysis youd identify the characteristics of a crop once it's fully grown not as a seed.