Posted May 10, 201411 yr Hi, I'm using crops in my mod and I can't plant the seeds without crashing Crop class: https://gist.github.com/kulalolk/9076ce29a9918734130c Seed class: https://gist.github.com/kulalolk/f262e1080e48a9292f0d If you need any other sources just ask, Thanks
May 10, 201411 yr You're not calling the block that's supposed to be planted. I would suggest you copy the vanilla code for seeds and crop blocks, and edit it as needed. There's a LOT of stuff you're missing here.
May 10, 201411 yr Author You're not calling the block that's supposed to be planted. I would suggest you copy the vanilla code for seeds and crop blocks, and edit it as needed. There's a LOT of stuff you're missing here. I copied the BlockCrops class, and they're so many erros of which I have no idea how to fix. Mainly because if I try to fix it, half of the code will be gone...
May 10, 201411 yr Hi seen this tutorial? Havvy's stuff is usually pretty good. http://www.minecraftforge.net/wiki/Plants -TGG
May 10, 201411 yr Author I tried the tutorial and got a lot of errors, is it updated for 1.7.2? New crop class: http://puu.sh/8HlcO.txt
May 11, 201411 yr Hi No the tutorial looks like it is for 1.6.4, however all the important concepts you need are in there. If you take your 1.7.2 mod for a normal block / item, and adapt it to match the extra / special stuff in the tutorial, it should work fine. -TGG
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.