Started by
Scoru
on
Topic category: Help with Minecraft modding (Java Edition)
So i'm making a mod that adds a fertile soil block, i already made it (dry and wet variations). I looked around for similar ideas and all i could find were blocks that speed up the growth process of the crop above, while usefull, that's not what i want my block to do. I would like that when my farmland is moist and a fully grown crop is broken on top of it, it applies a fortune-like effect on the crop, multiplying the drop. Is there a way to do it? I asked around for something and all i got is a Dynamic Loot Modification tutorial, but it's outside of mcreator
Unsure this can be done with Loot Tables - perhaps there is a way - tho one method that immediately comes to mind is making a procedure that, upon breaking the crop, checks whether it (the crop) has been planted on your wet soil (essentially, checks the block immediately below the crop) and then spawns multiple items (the crop's drops).
I can provide some screenshots if you're having trouble, tho I can't guarantee they would work immediately since I'm not that good with procedures.