First off, I'm completely new to modding, java, and programming in general. I've dabbled a bit, but this is my first real attempt at actually making something.
Anyway. I've been fiddling with the coding for a little while and I cant seem to figure this out. I've created the block. I've made it craftable. I can hold it in game, but I cant figure out how to eat it. I've googled it and I cant seem to find a tut on how to make food items. I know it's possible, since other mods are doing it, I just cant seem to figure it out.
Can someone break it down real simple like for me? I know it's asking a lot, but I'd be really thankful.
Oh. Duh. I figured out the problem. It was a simple counting error on my part. The icon I was trying to use for my food item was already in use, since I forgot the list is offset by one. Thanks to you two for trying to help. It's all fixed and working now. I cant believe it took me almost two hours to figure this out. /facepalm
Anyway. I've been fiddling with the coding for a little while and I cant seem to figure this out. I've created the block. I've made it craftable. I can hold it in game, but I cant figure out how to eat it. I've googled it and I cant seem to find a tut on how to make food items. I know it's possible, since other mods are doing it, I just cant seem to figure it out.
Can someone break it down real simple like for me? I know it's asking a lot, but I'd be really thankful.
[>>-i>] [>>-i>] [>>-i>] [>>-i>] [>>-i>] [>>-i>] [>>-i>] [>>-i>] [>>-i>] [>>-i>] [>>-i>] [>>-i>]