Posted September 15, 20205 yr I don't know what to post alongside this as I obviously have no idea where the issue is coming from. The mod I'm making has, so far, a armour set, tools, bow, and a couple resources Issue is that I can't craft 3 of my items, a bow, an arrow, and an apple, I'm not sure if I did not something wrong, I setup my bow and arrow the same as my other items and the apple I setup as a food item, they all have crafting recipes but they just won't craft, I know it's not my mod in general because I can craft other items, like my tools and armour. Let me know what you need to see to help me, I'll try my best.
September 15, 20205 yr Are you sure the registry name of the item and the recipe are the same, or are there any errors shown in the log during loading the recipes? If not a repo is really helpful for others to find the problem for you.
September 16, 20205 yr Author 47 minutes ago, poopoodice said: Are you sure the registry name of the item and the recipe are the same, or are there any errors shown in the log during loading the recipes? If not a repo is really helpful for others to find the problem for you. I'm 100% sure the registry name of the item and recipe are the same, I've checked the working items and it is done the exact same way just with a different name, also, what is a repo? I'm a little new to forge and Java.
September 16, 20205 yr Repo -> repository (can be online hosted by websites like github, bitbucket...etc) I'm basically asking you to provide all your code and assets.
September 16, 20205 yr Author Ah alright, thank you, is it alright if I attach my entire src\main folder directly or should I upload it to something and give you the link to that? Thank you for the help
September 17, 20205 yr It's better for you to have a repository, as it is good for your code management and all other people can view your code without downloading them.
September 17, 20205 yr Author Okay, sorry for such a late response, I think I figured it out https://github.com/CeluiTTV/CeluiUtility/ Edited September 17, 20205 yr by Celui
September 17, 20205 yr This class is useless, you already have the vanilla Item class. Same for this, this, this, this and this. Also, clean up your imports. Ctrl + Shift + O will do it automatically. Edited September 17, 20205 yr by Danebi
September 17, 20205 yr Here, you are using ArrowEntity but you should use ArrowItem. On 9/16/2020 at 1:09 AM, Celui said: Issue is that I can't craft 3 of my items, a bow, an arrow, and an apple Just tested it and you can craft the apple. You have commented out the registration of the bow and arrow and there is no recipe for them here. I tried adding a custom recipe and to run the game and all works. If you still have a problem post the debug.log.
September 17, 20205 yr Author 1 hour ago, Danebi said: Here, you are using ArrowEntity but you should use ArrowItem. Just tested it and you can craft the apple. You have commented out the registration of the bow and arrow and there is no recipe for them here. I tried adding a custom recipe and to run the game and all works. If you still have a problem post the debug.log. That was a version that I removed the bow and arrow from because I was mad about it, then was like "What if this works (referring to the arrowentity)?", which it didn't, and that was why it was commented out, also the apple only started working yesterday. Bow just started working, like right now. But I have no idea how to increase the damage, does the same as a regular minecraft bow. Also what should I do with the code in the useless classes?
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.