-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Furnace recipe handler NullPointer #358
Comments
Looks like someone added a recipe without setting the experience value, if you are adding the recipes make sure you are setting that (such as by using the Forge method) |
GameRegistry.addSmelting(block.getValue(), new ItemStack(UIItems.ingots.get(block.getKey())), 0.5f); |
Looks like your |
How would that work though? Cause when I test the recipe it works just fine |
Are you testing the right recipe? How many do you add? |
I'm loading up mc right now to test them all, but if one works they should all work since i add them all through one for loop |
Testing myself, I already found a smelting recipe that looks like
|
In here you should check that your |
Okay, after testing that one i see what i did wrong, but i still think that you should maybe add a case so that it doesn't fail to load the whole module if it gets a null ItemStack |
Yes, I am now |
Well if thats all sorted ill just close this |
Fixed in JEI version 3.7.6.
|
I was testing my furnace recipes with JEI installed in my dev environment and i noticed that for some odd reason the furnace module of the vanilla integration fails to load due to a NullPointerException in vanilla code. I'm not sure if this is due to how you're calling it or if it truly is a Forge/Vanilla bug but I figured I'd report it. I first discovered it on JEI version 3.7.5.229 but i have tested it to still fail on 230, my dev environment is using Forge 1.10.2-12.18.1.2011 which as of July 13th, 2016 is the latest recommended version. You can find the stacktrace here: http://pastebin.com/RkHzJzgT and i have also attached a compiled version of my mod to see if that helps. Thanks for your time.
UnifiedItems.zip
The text was updated successfully, but these errors were encountered: