Posted July 26, 20205 yr After so long time, I still cannot make a CT 5*5. i only miss the JsonManager class file to get the recipe from a json file. I tried to take a look at RecipeManager, but I didnt understand anything. Did someone done it yet and could help me?
July 26, 20205 yr It's been done a thousand times over. Create the json file as you would any other crafting recipe and set the width and height via ShapedRecipe::setCraftingSize in your common setup event.
July 27, 20205 yr Author 16 hours ago, ChampionAsh5357 said: It's been done a thousand times over. Create the json file as you would any other crafting recipe and set the width and height via ShapedRecipe::setCraftingSize in your common setup event. Could you link some project with a CT 5*5. I didn't understand how let CT get the recipe from JSON
July 27, 20205 yr 16 minutes ago, dyno said: I didn't understand how let CT get the recipe from JSON That's not a crafting table problem, that's an implementation problem. You can look at ShapedRecipe to know how it gets the information from JSON and WorkbenchContainer on how to apply it.
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.