KubeJS (Old)

KubeJS (Old)

3M Downloads

KubeJS - Create | Custom Shapeless Recipes not creating Create - Automated Shapeless Crafting recipes

Voidion opened this issue ยท 0 comments

commented

Minecraft Version

1.16.5

KubeJS Version

kubejs-forge-1605.3.19-build.299.jar

Rhino Version

rhino-forge-1605.1.5-build.75.jar

Architectury Version

architectury-1.29.51.jar

Forge/Fabric Version

36.2.23

Describe your issue

Creating custom shapeless crafting recipes with KubeJS doesn't get added to Create's - Automated Crafting Recipes, making the only option a default crafting bench. This is with Create's Allow Shapeless In Mixer enabled.

Below is the code I'm using for shapeless recipes if it makes a difference on if this works or not.

onEvent('recipes', event => {
  const recipeShapeless = (output, input) => {
    event.shapeless(output, input)
  }

    // Minecraft
    recipeShapeless('minecraft:pumpkin_pie', ['#forge:vegetables/pumpkin', '#forge:sugar', '#forge:egg', 'farmersdelight:pie_crust'])
   })

Update: While it doesn't work with KubeJS's custom recipes, when making the recipe with a data pack and overwriting the default recipe that way it works and allows Create's Automated Shapeless Crafting to work.

Crash report/logs

No response