rahanne Posted July 16, 2015 Posted July 16, 2015 Hi all, I have mod a custom furnace inspired by some tutorials. I added it then now i have two furnaces in game : the vanilla one and my custom furnace. I have added some "GameRegistry.addSmelting..." to add recipes. It's OK but the recipes is valid for the 2 furnaces. I would add some smelting recipes for only custom furnace, not vanilla furnace. I have trying to listen events about furnace, even about PlayerOpenContainerEvent but no success... My question : how to add the smelting recipe for only custom furnace ? Thx by advance. Quote
rahanne Posted July 17, 2015 Author Posted July 17, 2015 Ok thx for your solution. to not allow these recipes for the vanilla furnace : i have not register smelting recipe with this command "GameRegistry.addSmelting..." so I check manually wich itemstack is put in my modded furnace then i return the result according the previous item stack when the burning time is ok. If a better method exists, i'm interesting .... thx. Quote
Draco18s Posted July 17, 2015 Posted July 17, 2015 Create your own recipe list. It's just a class that holds the relevant information, which you would then call an addRecipe function for, just like vanilla. 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.
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.