Posted November 8, 20223 yr Hello my first question is if can i use custom recipe type in Crafting Table, my goal is to create crafting table recipes with require more than one item in the same slot of crafting grid. I achieved this in half way, i would say. I created custom Crafting Recipe and serializer with store count of items needed to craft. I made so it check if there is enough items in slot with are needed for craft and it is working just fine, but the issue with that is when i craft it removes only one item per slot instead of required amount and i don't know how can i achieve so it removes the correct number of items.
November 8, 20223 yr The method ResultSlot.onTake() hardwires the value 1 in its call to CraftingContainer.removeItem() Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
November 8, 20223 yr Author That's what I saw. But there must be a way to do that I can see that one mod already doing that and i know i could easly do this by adding custom crafting table but i would prefear to do it in standard crafting table. Edited November 8, 20223 yr by Maciej916
November 8, 20223 yr Then look at how that mod does it. I would bet it either; * changes the crafting table recipe to output its own implementation of the crafting table * uses mixins or some other byte code manipulation Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
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.