Posted May 30, 20214 yr Hello, I have been working on some custom recipe types and have gotten stuck when handling fluids. I need some guidance on which classes I need to be using when working with fluids. I know Fluidstack is the corresponding class for ItemStack, but that's about it. In all, I have these questions: What would the fluid variant of Ingredient be? How should I go about overriding the methods public ItemStack getCraftingResult(RecipeWrapper inv) and public ItemStack getRecipeOutput() in my Recipe class? How should I structure my JSON objects for reading? I can assume it would be something like what I have put below. For a fluid input: (1000 mb of water as an example) "fluidInput":{ "fluid":"forge:fluids/water", "amount":1000 } For a fluid output: (water as an example) "fluidOutput":{ "fluid":"forge:fluids/water", "amount":1000 } Thanks for the help!
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.