Posted April 5, 201411 yr Hey Guys! I need to create some recipes which differentiate between left and right side. The problem is, that the normal recipes are mirrored to fit both sides. How can I disable this mirroring for my recipes? http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
April 6, 201411 yr I had a similar problem a while back. 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/
April 6, 201411 yr Author The Idea with copying the recipe worked! @larsgerrits and others: Make a new class "extends ShapedRecipies". Add a constructor (eclipse should create a template) Override the method "matches". There, the method checkMatch is called two times, once with the last parameter true, once false. Delete the call with the last parameter set to true, cause this is the mirrored check. Finished! To set up your recipe, you can copy the methods from the craftingManager to create recipies from three strings and a Object list. Copy it into your class into a method maybe named "create" which returns a recipe (the class you made) Edit the code, that it returns a new object of this recipeclass and you're finished! http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
April 6, 201411 yr I already figured out the problem after that thread. 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/
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.