Skip to content

Bug Fix & Minor Adjustments

Compare
Choose a tag to compare
@2008Choco 2008Choco released this 01 Jan 18:40
· 173 commits to main since this release

Overview

Once again, thank you for the positive support on recent releases of Alchema over the last week. I hope you all had wonderful holidays and welcome to 2021! This release addresses a couple rare issues as well as adjusts how recipes are read and structured in Alchema's recipe file system.

Changelog

  • Recipes may now be categorized under subdirectories
    • The default recipes of Alchema have been restructured to reflect this change. ores/ and food/ directories have been created and had recipes moved by default
    • Directories, much like recipes, must be lowercased and separated by underscores, not spaces
    • The resulting recipe key will take on its relative path. For example, alchema:diamond_ore is now alchema:ores/diamond_ore as it is located in the ores directory
  • Added a configuration option to change the pool of death messages when dying in a cauldron
    • If this option is set to an empty list ([]), no death message will be sent
  • If a new update is available, it will be displayed next to the version (in /alchema version) rather than on its own line
  • Fixed rare IllegalArgumentException: amount must be > 0 due to Spigot's item merging

API Changes

  • Added numerous new methods to AlchemicalCauldron
    • AlchemicalCauldron#hasValidHeatSource() : boolean
    • AlchemicalCauldron#getX() : int, #getY() : int and #getZ() : int
    • AlchemicalCauldron#getHeatSourceX() : int, #getHeatSourceY() : int, #getHeatSourceZ() : int and #getHeatSourceLocation() : Location
    • Deprecated AlchemicalCauldron#getFireBlock(). Prefer instead getHeatSourceBlock()