Posted June 23, 201312 yr So, I've made some crafting recipes, and they are crafted the opposite way. But if I craft both of them they return one and the same block. First crafting recipe: "YXX","YXX","YXX" And the second crafting recipe: "XXY","XXY","XXY" So, if I craft them like so: "YXX","YXX","YXX" and so: "XXY","XXY","XXY", they return the block of the first crafting recipe. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 23, 201312 yr Author Anyone? Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 24, 201312 yr Author No, its a bit hard to understand. So, if i wanna craft a block with this recipe: "YXX","YXX","YXX" I get the proper block. But if I craft ablock with this recipe: "XXY","XXY","XXY" i get the same block as the first one. That's because the two recipes are mirrored. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 24, 201312 yr Author Negating it. So that it gives me 2 different blocks instead of the same one. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 24, 201312 yr That behaviour is hardcoded in ShapedRecipes. Create your own Recipe class, remove the mirroring check (line 54), and use that class for your recipes. BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
June 25, 201312 yr Author That behaviour is hardcoded in ShapedRecipes. Create your own Recipe class, remove the mirroring check (line 54), and use that class for your recipes. So i made a new recipes class and a new CraftingManager class, but do you know where it is called? Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 25, 201312 yr That behaviour is hardcoded in ShapedRecipes. Create your own Recipe class, remove the mirroring check (line 54), and use that class for your recipes. So i made a new recipes class and a new CraftingManager class, but do you know where it is called? You don't need a new CraftingManager. Just create your own class which implements IRecipe, copy the ShapedRecipe code, and remove the mirroring check. Then use GameRegistry.addRecipe(new MyRecipe(args)); BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
June 26, 201312 yr Author And what would i put as my arguments? If I hover over this line: GameRegistry.addRecipe(new BDShapedRecipes()); it sais: Add arguments to match 'BDShapedRecipes(int, int, ItemStack[], ItemStack)'. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 26, 201312 yr And what would i put as my arguments? If I hover over this line: GameRegistry.addRecipe(new BDShapedRecipes()); it sais: Add arguments to match 'BDShapedRecipes(int, int, ItemStack[], ItemStack)'. Width, height, inputs, output. BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
April 6, 201411 yr Here i have posted a solution for this problem: http://www.minecraftforge.net/forum/index.php/topic,17964.0.html http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
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.