Ex Deorum

Ex Deorum

2M Downloads

Doesn't work removeDefaultSieveRecipes(event)

ChristopherChalfit opened this issue ยท 1 comments

commented

Hello,
I use NEOFORGE 1.21.1

The following script does not work:

ServerEvents.recipes((event) => {
// Removes every sieve recipe added by default in Ex Deorum
exdeorum.removeDefaultSieveRecipes(event);
});

It results in the following error:

Error in 'ServerEvents.recipes': dev.latvian.mods.rhino.EcmaError: TypeError: Cannot find function removeDefaultSieveRecipes in object thedarkcolour.exdeorum.compat.kubejs.ExDeorumKubeJsBindings@3a186073.

This error suggests that the function removeDefaultSieveRecipes does not exist or is not accessible within exdeorum. It is possible that the API does not expose this method, or that the correct way to remove default sieve recipes is different. Any guidance on how to properly achieve this would be appreciated.

Thank's you for the response

commented

I probably removed it. Check the new documentation for 1.21.1 to see the correct way to do this: https://exdeorum.readthedocs.io/en/latest/1.21.1/kubejs/