Skip to content

HOCON Format, Recipe Book Improvements & More

Compare
Choose a tag to compare
@WolfyScript WolfyScript released this 11 Sep 18:21
· 790 commits to master since this release

This update requires the latest version of WolfyUtilities (v4.16.6.1) to function properly!

HOCON Format

From this time on, recipes and items are saved in the HOCON (Human-Optimized Config Object Notation) format as .conf files.
It provides an easier to use configuration format and is for example the official configuration method for Sponge servers and plugins.

A good introduction to HOCON can be found in the Sponge docs.
https://docs.spongepowered.org/stable/en/server/getting-started/configuration/hocon.html
More detailed info about how to use the format can be found here:
https://github.com/lightbend/config#using-hocon-the-json-superset

All previous JSON files are still working like normal, and will still be supported in the future.

Configurable Recipe Type Titles

The recipe book title previously used the same title for the recipe view GUI no matter what recipe you were viewing.
Now it uses a different title depending on the recipe type you are viewing.

Additionally, those titles can be configured inside the config.yml:

  • <translate:"language_key"> to use values from the language
  • <papi:"placeholder"> to use PAPI placeholders (using the player that views the GUI)
recipe_book:
  recipe_type_titles:
    crafting_shaped: <translate:recipe.type.crafting.crafting_shaped>
    crafting_shapeless: <translate:recipe.type.crafting.crafting_shapeless>
    elite_crafting_shaped: <translate:recipe.type.crafting.elite_crafting_shaped>
    elite_crafting_shapeless: <translate:recipe.type.crafting.crafting_shaped>
    furnace: <translate:recipe.type.cooking.furnace>
    blast_furnace: <translate:recipe.type.cooking.blast_furnace>
    smoker: <translate:recipe.type.cooking.smoker>
    campfire: <translate:recipe.type.cooking.campfire>
    smithing: <translate:recipe.type.smithing>
    anvil: <translate:recipe.type.anvil>
    cauldron: <translate:recipe.type.cauldron>
    stonecutter: <translate:recipe.type.stonecutter>
    grindstone: <translate:recipe.type.grindstone>
    brewing_stand: <translate:recipe.type.brewing_stand>

Changelog

  • #165 - Toggle Auto Recipe Discover On Player Login
  • #166 - Recipe Book: Configurable Recipe Type Titles
  • #167 - 2x2 Elite Crafting Table
  • #168 - HOCON Format Migration

Full Changelog: v4.16.0.1...v4.16.1.0