skip999 Posted October 30, 2020 Posted October 30, 2020 Hello, I believe I am doing something wrong with my RecipeHandler, but I cannot seem to figure out what. Unfortunately, the game crashes before it can give me useful information. I have included a github link to the relevant files. I believe the issue lies when it tries to read a JSON recipe, as when I remove the custom recipe type JSON everything will load fine. Thanks for the help! https://github.com/skiprocks999/relivant-code Quote
poopoodice Posted October 30, 2020 Posted October 30, 2020 The github link isn't working (at least for me), and it will help a lot if you can also post the crash log. Quote
skip999 Posted October 30, 2020 Author Posted October 30, 2020 (edited) Whoops forgot tom make it public try now, And here is the crash report. Ignore the name that's just what it auto-generated. I can confirm its a SP world. crash-2020-10-29_19.39.27-server.txt Edited October 30, 2020 by skip999 Quote
Draco18s Posted October 30, 2020 Posted October 30, 2020 Your git repository is not a valid Forge project. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
skip999 Posted October 30, 2020 Author Posted October 30, 2020 Okay here is a link to the full repository. I suppose I should have just done that from the start. https://github.com/skiprocks999/Amulets-of-Infinity/tree/Block-Library/ContInfBlockLib Quote
skip999 Posted October 30, 2020 Author Posted October 30, 2020 Okay here's the log. It's saying there is a "character in the path of location" for the json file. debug.log Quote
skip999 Posted October 30, 2020 Author Posted October 30, 2020 I'm a potato I put a capitol letter in the package name. Sorry about this. My brain was fried last night when I was trying to figure this out. Quote
skip999 Posted October 30, 2020 Author Posted October 30, 2020 Okay this time I legitimately have a problem. Everything works perfectly. Except it won't place the item in the furnace output, and I legitimately don't know why. The debug log is showing no errors (aside from some old recipes I need to remove, but that's besides the point). I've placed some loggers in some key methods to make sure they work, which they do. I've even checked if its reading the output from the JSON file correctly, which it is. Yet I cannot get the item to output.Here is the GitHub link again, and I have attached the debug log: https://github.com/skiprocks999/Amulets-of-Infinity/tree/Block-Library/ContInfBlockLib debug.log Quote
Draco18s Posted October 30, 2020 Posted October 30, 2020 I do see these two errors: [30Oct2020 11:02:56.874] [Server thread/ERROR] [net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe continfblocklib:rose_quartz_pillar_stairs com.google.gson.JsonSyntaxException: Unknown item 'continfblocklib:rose_quartz_pillar_stairs' [30Oct2020 11:02:56.879] [Server thread/ERROR] [net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe continfblocklib:chiseled_rose_quartz_stairs com.google.gson.JsonSyntaxException: Unknown item 'continfblocklib:chiseled_rose_quartz_stairs' Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
skip999 Posted October 30, 2020 Author Posted October 30, 2020 I addressed that above those are two old recipes I need to remove from blocks I had to remove. Even with them removed the problem still happens, so its not them. Quote
skip999 Posted October 30, 2020 Author Posted October 30, 2020 Okay I have found the issue. I was trying to insert the output into the wrong inventory slot. Thanks for the help! Quote
Recommended Posts
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.