#Laser Engraver recipe does not accept notConsumable function in KubeJS

10 messages · Page 1 of 1 (latest)

sly junco
#

When trying to add a recipe to Laser Engraver, I can't set the lens parameter notConsumable
(Or other machines where it should be, judging by the code)

Error from the log
gregtech/ae2gt.js#33: Error in 'ServerEvents.recipes': dev.latvian.mods.rhino.EcmaError: TypeError: Cannot find function notConsumable in object minecraft:laser_engraver/printed_calculation_circuit[gtceu:laser_engraver].

Is the order of parameters important when writing a recipe? And could something have changed in version 1.21.1?

gt is const to e.gtceu.recipes

Modloader: NeoForge
Mod version: 1.4.6
Minecraft version 1.21.1

sly junco
#

Laser Engraver recipe does not accept notConsumable function in KubeJS

elfin gustBOT
sly junco
#

The problem is not relevant. Through ProbeJS I found that recipes are supported at the moment. But this is not reflected in the wiki, and does not correspond to the current version of the mod

cosmic scroll
#

idk what you did wrong but i have seen some stuff not work on 1.21.1 (what should work and do work in the latest 1.20.1 version)

cosmic sorrel
#

Try .notConsumableItem() for now

#

@supple lodge is 1.21 kjs recipeschema supposed to be different from 1.20

supple lodge
#

uhhhhhh

#

oh right

#

I couldn't copy all the conflict fixes to 1.20