CustomCrafting 1.6.6.0 (MC 1.15 - 1.16)

Details

  • Filename
    customcrafting-1.6.6.0.1.jar
  • Uploaded by
  • Uploaded
    Jul 18, 2021
  • Size
    693.47 KB
  • Downloads
    4,197
  • MD5
    dbcf8cd706ccca3f5a7bf67f0b1c0814

Supported Bukkit Versions

  • 1.16
  • 1.15

Changelog

This is the first version on CurseForge! For previous changes and updates please visit SpigotMC!

This update is centered around improving the plugin as much as possible.
Many sections were rewritten and rearranged to fix the fundamental issues of the plugin.
Another significant part was performance improvements and usability.

Updating & Breaking Changes
I highly recommend making a backup of your recipes and items before updating!
Before updating, please read the following page on the wiki.
Please take note of the breaking changes!


Recipes
The recipes were revised to fix issues and provide more functionality and extension capabilities for the future.

  • Support for Minecraft Tags!
  • Results can now run extensions on craft completion.
  • Rewritten & improved Listeners for Crafting, Anvil, Furnace, Smithing, and Grindstone recipes.
  • Added option for Recipe Groups

Tags
Tags are sets of items that have some attributes, origins, or other similarities in common.
You can only use the item tags listed here.

Result Extensions
Extensions make it possible to run tasks on completion of a recipe.
There are default extensions available like the Command, Sound, and MythicMobs extension, but you can also create your own.
More info on the wiki.

Recipe Priority
Reversed the order of the Recipe Priority to make more sense. HIGHEST is now LOWEST, and LOWEST is HIGHEST.
So recipes with a higher priority are checked first!
More info about the recipe priority and when to use it on the wiki.

Recipe Groups
Recipe groups allow grouping recipes together in the Recipe Book.
That makes the Recipe Book a lot easier to navigate and find recipes quicker.


Recipe Book
Rewrote the recipe book to fix it and be more like the vanilla Recipe Book.
The Categories no longer merge similar result items. Instead, it's all based on recipes and groups.
The previous "switch categories" are now called filters, as they filter the categories.
You do have the option to edit the Recipe Book via the in-game GUI.
Editing the recipe_book.json instead is recommended.
More info about that file here.


GUI & Chat
The GUI got multiple improvements to make it more persistent.
The Recipes and CustomItems are created the same way as before using the specific buttons on the MainMenu.

Editing/Deleting
When editing or deleting recipes, you need to do that via the associated list (RecipeList or ItemList).

Chat
Instead of typing directly into the chat when asked to, you should use the "/wui" command instead!
It prevents you from mistakenly sending your precious namespaces and keys to everyone on the server. Additionally, it provides you with handy tab completion, so you don't need to rewrite your namespace all over again.


Commands
Recipe loading & saving
The command "/cc reload" no longer saves the recipes before loading. That makes it possible to edit recipes directly in the config and then load them again.
If you want to re-save or export recipes to the database, you need to run /recipes save.

Technical

  • All the recipes are now saved inside a Registry together with all the other custom data like ResultExtensions.
  • Renamed RecipeUtils to CraftingManager.
  • All kinds of data objects now use clone methods and copy constructors. So custom ResultExtensions should include those too.
  • The Recipes have an additional generic type associated with them that defines the type of Target they can use. That means for example that CustomRecipe<?> would be CustomRecipe<?, ?> now.

 

Bug Fixes

  • Fixed weird duplication of ingredients when crafting that occurs with high ping or low tps.
  • Fixed PotionCreator not going back to the ItemCreator.
  • Fixed ItemEditor not going back to the RecipeCreator.
  • Fixed RecipeCreator going back to the MainMenu, even if opened via the RecipeList.
  • Fixed Save button not going back to the Recipe List.
  • Fixed the crammed Elite Crafting Recipe Creator and moved settings to a separate GUI.
  • Fixed RecipeList placeholders for Recipes with invalid results stacking the lore on each toggle.
  • Fixed RecipeList & ItemList not displaying all of the values per page.
  • Fixed the shapeless setting being saved two times for shapeless recipes.
  • Fixed items disappearing when shift-clicking into the GUI.
  • Fixed Campfire Recipes being added with source containing AIR and crashing the server on interaction.
  • Fixed: Multiple Recipes in Cauldrons causing the particles to stay in the progress stage (colored dust).
  • Fixed collecting of Cauldron Recipes not working with an empty hand.
  • Fixed Furnace custom Fuel issues.
  • Fixed CustomItemList displaying unnecessary next page button.
  • Fixed Recipes not cloning correctly when editing.
  • Fixed Recipes registered into Bukkit not using CustomCrafting's namespace.
  • Fixed Anvil recipes causing items to disappear and other buggy mess when using them.
  • Fixed RecipeBook config not being saved correctly.
  • Fixed invalid Recipe JSON breaking all of the loaders.
  • Fixed ItemsCreator reference buttons not displaying.
  • Fixed cauldron saving not closing the output/input stream when failing to load/save.
  • Fixed languages not using snake_case for all the keys ("mirrorHorizontal", "mirrorVertical", etc.).
  • Fixed ItemList applying items to recipes forever when RecipeCreator was opened once.
  • Fixed custom amount not applying to saved CustomItems.
  • Fixed init connection of database not being closed.
  • Fixed recipes being consumed, even if the result couldn't be collected to the cursor.
  • Fixed Shaped Crafting Recipes not checking shape bounds correctly.
  • Fixed 1x3 (and possibly more) recipes couldn't be crafted on the right side of the grid.
  • Fixed Recipe Item stacks including Air Items.
  • Fixed Stonecutter recipe not being saved and loaded correctly.
  • Fixed MySQL connection not being closed correctly.
  • Fixed Internal generic issues.
  • Fixed CustomItem not being cloned for the ItemCreator.