gnembon / carpet-autoCraftingTable

autoCraftingTable extension for carpet-mod
GNU Lesser General Public License v3.0
80 stars 27 forks source link

Auto Crafting Table doesn't unlock recipes when an item is crafted #4

Closed SurpriseTea closed 4 years ago

SurpriseTea commented 4 years ago

In vanilla (and if autoCraftingTable rule is set to false), if you craft an unknown recipe, it becomes unlocked (by "unlocked" I mean "added to character's list of known recipes"). It's useful for datapacks; they rely on that to implement custom recipes with NBT in an output item.

With autoCraftingTable rule enabled, however, recipes don't unlock, and thus "recipe_unlocked" trigger never fires, and datapacks using it break.

Tested in 1.15.0