Skip to content

1.17/1.18 Support, Java 16, MMOItems Integration

Compare
Choose a tag to compare
@2008Choco 2008Choco released this 12 Dec 23:43
· 43 commits to main since this release

Changelog

  • Support for Minecraft 1.17.x and 1.18.x
  • Dropped support for Minecraft 1.16.x
  • Minimum required Java version is now Java 16 (required by Minecraft 1.17 anyways, you should have this installed already)
  • Added integration with MMOItems
    • Recipe types may now be mmoitems:mmoitem which requires an item_type, id, and an optional amount.
  • Added an optional -f argument to /saverecipe to forcibly save the recipe file. If set, it will overwrite a recipe file if one exists at the given path
  • Added a new configuration option, EnforcePlayerDroppedItems. When set to true, only items dropped by players are allowed
  • Added a new permission node, alchema.craft. Default to all players. When revoked, players cannot craft items in cauldrons.
  • Added 3 new recipes for Minecraft 1.17/1.18:
    • entities/glow_ink_sac: 50 Glow Squid essence, 1 ink sac = 1 glow ink sac
    • food/glow_berries: 4 sweet berries, 1 glowstone dust = 4 glow berries
    • ores/copper_ore: 2 copper ingots, 1 stone = 1 copper ore
  • "name" and "description" are now supported fields in all recipe files, but remain unused currently

API Changelog

  • Added CauldronIngredient#getComplexity(). Allows recipe types to calculate their own complexity values
  • Added CauldronIngredient#describe(). Describes an ingredient as a string
  • Added CauldronRecipeRegistry#getCauldronRecipe(NamespacedKey)
  • CauldronRecipe has been converted from a class to an interface. This is a breaking change. Plugins are expected to use CauldronRecipe.builder() to create recipes
  • Depreacted CauldronRecipe.Builder#setComment() and setExperience(). Replaced with comment() and experience()