Anyone have a KubeJS example of a Create Mechanical Extruder recipe for Forge 1.20.1?
I used the examples on the wiki, but it doesn't seem to work. I get an error in my KubeJS log that says "Error in 'ServerEvents.recipes': ReferenceError: "BlockPredicate" is not defined."
Would anyone mind showing me a working version of their's so I can compare?
1 Reply
event.recipes.create_mechanical_extruder.extruding(
Item.of('alexscaves:block_of_chocolate'),
[
Fluid.of('create:chocolate'),
Fluid.of('create:chocolate')
]
).catalyst('minecraft:blue_ice')
BlockPredicate.of is for blocks, fluid.of for fluids, the error is bcs kjs is trying to found the block of water for example