KubeJS (Old)

KubeJS (Old)

3M Downloads

1.18.1 Creating crafting recipes that require nbt is completely broken

TheQKnight opened this issue ยท 1 comments

commented

Crafting recipes that are made to require nbt work with all items. For example this script

onEvent('recipes', (event) => {
  event.shapeless('4x minecraft:cobblestone', [
    Item.of('minecraft:firework_star', '{CustomModelData:201}'),
  ])
})

Allows all firework stars to be used in the recipe. Same happens if I remove the quotes enclosing the nbt object.

commented

Is this on Forge or on Fabric? In case of the latter, see #239