Darkhax-Minecraft / BotanyPots

Adds some flower pots that can be used to grow various crops.
GNU Lesser General Public License v2.1
92 stars 71 forks source link

[QUESTION] <Can't get the datapack to work> #375

Closed Silverfrost9 closed 4 months ago

Silverfrost9 commented 4 months ago

Question

I'm trying to make a datapacks that allows me to put cultural delights and byg stuff into the botany pots. The blueberries worked without the datapack but the rest of the berries don't work and some of the byg flowers work and others don't. I tried to make a datapack to add these in but it doesn't seem to be working. Here's my datapack. I am on minecraft 1.16.5 and forge version 36.2.41 silversbotany.zip

Silverfrost9 commented 4 months ago

Oh I managed to get nightshade berries to work but not crimson berries. I also got the cultural delights crops to work but i can only plant the rice in dirt when it's supposed to be grown in water

(edit i figured out that crimson berries grows on overgrown netherrack but it's not supposed to) silversbotany2.zip

Silverfrost9 commented 4 months ago

Last addition, the cucumber, corn, and eggplant won't harvest into a chest when placed into a botany hopper pot. It says the growth is 100% without reaching mature crop and then just doesn't harvest. Even when placed into a normal botany pot

Darkhax commented 4 months ago

Hello, the issues you've mentioned here are all explained in the log file. It looks like you were using the 1.20.4 documentation for 1.16.5 but that will not work. You should reference this documentation instead, and cross reference it with the examples included with the mod.

Looking specifically at the cucumber crop, the following warning is printed in the log when using your datapack. [Server thread/WARN]: The crop culturaldelights:crops/cucumber has no results array. This means it won't drop anything!. This is because you used drops for the property key but that version of the game used results.

Silverfrost9 commented 4 months ago

Okay, I did as instructed and it does work better but I'm still struggling with it. I copied the code from the kelp file for the rice for it to be planted in water but it still won't be planted in there. The eggplants wont drop seeds and them and the cucumber keep registering as broken textures. The corn kernels won't plant at all ;-;

welp silversbotany3.zip

Silverfrost9 commented 4 months ago

Okay, I got it to work somewhat? There's still issues with the rice but the others seemed to fix themselves mostly? I'm still working on intergrating Farmers Respite with the teas but I'm still struggling with getting the seeds to drop from cultural delights and the water issue for rice The textures are unbroken though which is something. silversbotany4.zip

Darkhax commented 4 months ago

Your changes to rice is not working because the authors of Farmers Delight added the rice recipe themselves. You will need to put the file in the same location as theirs to override it. data/farmersdelight/recipes/integration/botanypots/crops/rice_crop.json.

Darkhax commented 4 months ago

I am going to close this issue for now. You're already on the Discord and I feel that's a better place to handle tech support like this. I've given you the role to post files in your thread there so you can upload zips/jsons/pngs easier.