Changes

Summary

  1. Add helper method to create an ingredient from a fluid object (details)
  2. Ensure all IDs produced by IRecipeHelper are in your own namespace (details)
  3. Add IdAwareObject and use for a new recipe helper utility (details)
Commit 0d1e557e70984dc441612384e515295627436b9d by KnightMiner
Add helper method to create an ingredient from a fluid object

Pretty common request, and the fluid objects without blocks are more awkward to create it as they lack a tag
The file was modifiedsrc/main/java/slimeknights/mantle/registration/object/FluidObject.java (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/registration/object/FlowingFluidObject.java (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/recipe/ingredient/FluidContainerIngredient.java (diff)
Commit b2f8009dcc2b75b5e303741e94f1c14ae08906fc by KnightMiner
Ensure all IDs produced by IRecipeHelper are in your own namespace

Tinkers used this to simplify some datagen key creation on Minecraft objects. We never want to generate a recipe for another domain.
The file was modifiedsrc/main/java/slimeknights/mantle/recipe/data/IRecipeHelper.java (diff)
Commit c44fa6381da7380c355846453837ce2437a8fea4 by KnightMiner
Add IdAwareObject and use for a new recipe helper utility

IdAwareObject just represents an object that can return its own ID, similarly to RegistryObject. Simplifies some utilities as they can automatically work with ItemObject and FluidObject at no extra cost
The file was addedsrc/main/java/slimeknights/mantle/registration/object/IdAwareObject.java
The file was modifiedsrc/main/java/slimeknights/mantle/registration/object/FluidObject.java (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/recipe/data/IRecipeHelper.java (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/registration/object/ItemObject.java (diff)