Create Sifting

Create Sifting

2M Downloads

Kubejs issue

Closed this issue ยท 1 comments

commented

Describe the Bug

I followed along the recipe for Kubejs 6.1 but for some reason it does not create it.

event.recipes.createsifter.sifting([
item.of('minecraft:iron_nugget').withChance(0.3),
item.of('create:copper_nugget').withChance(0.4),
item.of('create:zinc_nugget').withChance(0.4)
], ['minecraft:gravel', 'createsifter:string_mesh']).waterlogged()

I tried createsifterShifting still the same

btw codeblock 19 is where the waterlogged() is

Reproduction Steps

  1. install latest kubejs and kubejs create together with create sifter mod
  2. run the code

...

Expected Result

creates a recipe based from the code

Screenshots and Videos

image

Crash Report or Log

No response

Operating System

windows 10

Mod Version

1.20.1-1.8.1.e-22

Minecraft Version

1.20.1

Forge Version

Neoforge 47.1.106

Other Mods

No response

Additional Context

No response

commented

event.recipes.createsifter.sifting({
type: 'createsifter:sifting',
ingredients: [{item: 'minecraft:gravel'}, {item: 'createsifter:string_mesh'}],
results: [
{item: 'minecraft:iron_nugget', chance: 0.3},
{item: 'create:copper_nugget', chance: 0.4},
{item: 'create:zinc_nugget', chance: 0.4}
], waterlogged: true
})

resorted to using .json welp