Important! Requires WolfyUtilities 2.16.1.1, that is currently only available on GitHub HERE.
This update fixes some issues regarding the compatibility with other plugins like Magic, where items from magic were not loaded in time to be available for the recipes.
Similar to the changes in WolfyUtilities, the Registry structure changed.
Instead of accessing the CCRegistry and CCClassRegistry, you need to get the Registries from the CustomCrafting instance.
Code (Java):
CCRegistries registries
= CustomCrafting.
inst
(
).
getRegistries
(
)
;
registries.
getRecipes
(
)
;
registries.
getRecipeConditions
(
)
;
registries.
getRecipeMergeAdapters
(
)
;
registries.
getRecipeResultExtensions
(
)
;
registries.
getItemCreatorTabs
(
)
;
Registering instances and types still works the same for all the registries.
Changelog
- Updated to WolfyUtilities dependency system, to await data from dependencies.
- Fixed #74 - Dupe Items Glitch with Elite Crafting Table.
- Fixed - Shift + right-clicking on ingredients will put the items into your inventory (and then open the ingredient settings).
- Fixed #77 - Exp being used in anvil, then being refunded as soon as new exp from external source is given.
- Fixed - DataHandler isn't setting the save destination to database, if used.
- Fixed - DataHandler isn't checking if localStorage loader exists.
- Fixed - SQLDatabaseLoader isn't using correct recipe loader to convert recipes.
- Fixed - LocalStorageLoader ins't ignoring old recipes in "workbench" folder.
- Fixed - Crafting Creator doesn't allow ingredients with just tags.
- Fixed - Various uninitialized default RecipeCache values.
- Fixed - RecipeCacheCauldron doesn't initialize defaults and loading all settings from recipe.
- Fixed - RecipeCacheBrewing doesn't apply ingredients to recipe.
- Fixed - BrewingRecipeCache doesn't allow empty result.
- Fixed - BrewingRecipeCache doesn't initiate default values.
- Updated to new Jackson package, because of WU change.
- Removed usage of deprecated gson class.