ExtendedAE

ExtendedAE

17M Downloads

KubeJS error in 1.20.1

DtnX opened this issue · 3 comments

commented

Versions:
ExtendedAE-1.20-1.3.5-forge
kubejs-forge-2001.6.5-build.16

Script:
`console.info('⚙️ - Script de Hds Carregado')

StartupEvents.registry('item', cells => {

cells.create('lava_cell', 'custom_infinity_cell' )
    .texture('kubejs:item/lava_cell')
    .fluidType('minecraft:lava')
    .cellModel('kubejs:block/drive/lava_cell');

})`

KubeJS log:
[09:28:50] [INIT] KubeJS 2001.6.5-build.16; MC 2001 forge [09:28:50] [INIT] Loaded plugins: [09:28:50] [INIT] - dev.latvian.mods.kubejs.forge.BuiltinKubeJSForgePlugin [09:28:50] [INIT] - dev.latvian.mods.kubejs.forge.BuiltinKubeJSForgeClientPlugin [09:28:50] [INIT] - pie.ilikepiefoo.AdditionsPlugin [09:28:50] [INIT] - pie.ilikepiefoo.compat.jei.JEIKubeJSPlugin [09:28:50] [INIT] - com.almostreliable.kubeio.kube.KubePlugin [09:28:50] [INIT] - com.blakebr0.cucumber.compat.kubejs.CucumberKubeJSPlugin [09:28:50] [INIT] - fr.frinn.custommachinery.common.integration.kubejs.CustomMachineryKubeJSPlugin [09:28:50] [INIT] - com.bobvarioa.kubejsarsnouveau.KubeJSArsNouveauPlugin [09:28:50] [INIT] - net.cathienova.kubejsbloodmagic.KubeJSBloodMagicPlugin [09:28:50] [INIT] - forestry.compat.kubejs.ForestryKubeJsPlugin [09:28:51] [INFO] Hd.js#1: ⚙️ - Script de Hds Carregado [09:28:51] [INFO] Loaded script startup_scripts:Hd.js in 0.085 s [09:28:51] [INFO] Loaded 1/1 KubeJS startup scripts in 0.844 s with 0 errors and 0 warnings [09:28:51] [ERROR] ! Error in 'StartupEvents.registry': Unknown type 'custom_infinity_cell' for object 'lava_cell'! [09:28:51] [ERROR] ! java.lang.IllegalArgumentException: Unknown type 'custom_infinity_cell' for object 'lava_cell'! [09:28:51] [ERROR] ! at …kubejs.registry.RegistryEventJS.create(RegistryEventJS.java:25) [09:28:51] [ERROR] ! at java.lang.reflect.Method.invoke(Method.java:568) [09:28:51] [ERROR] ! at …rhino.MemberBox.invoke(MemberBox.java:160) [09:28:51] [ERROR] ! at …rhino.NativeJavaMethod.call(NativeJavaMethod.java:463) [09:28:51] [ERROR] ! at …rhino.Interpreter.interpretLoop(Interpreter.java:986) [09:28:51] [ERROR] ! at …rhino.Interpreter.interpret(Interpreter.java:370) [09:28:51] [ERROR] ! at …rhino.InterpretedFunction.call(InterpretedFunction.java:72) [09:28:51] [ERROR] ! at …rhino.Context.callSync(Context.java:1357) [09:28:51] [ERROR] ! at …rhino.Context.doTopCall(Context.java:1374) [09:28:51] [ERROR] ! at …rhino.InterpretedFunction.call(InterpretedFunction.java:70) [09:28:51] [ERROR] ! at …rhino.Context.callSync(Context.java:1357) [09:28:51] [ERROR] ! at …rhino.ArrowFunction.call(ArrowFunction.java:42) [09:28:51] [ERROR] ! at …rhino.Context.callSync(Context.java:1357) [09:28:51] [ERROR] ! at …rhino.InterfaceAdapter.invoke(InterfaceAdapter.java:125) [09:28:51] [ERROR] ! at …rhino.VMBridge.lambda$newInterfaceProxy$0(VMBridge.java:74) [09:28:51] [ERROR] ! at TRANSFORMER/jdk.proxy3/jdk.proxy3.$Proxy78.onEvent(Unknown Source) [09:28:51] [ERROR] ! at …kubejs.event.EventHandlerContainer.handle(EventHandlerContainer.java:39) [09:28:51] [ERROR] ! at …kubejs.event.EventHandler.postToHandlers(EventHandler.java:304) [09:28:51] [ERROR] ! at …kubejs.event.EventHandler.post(EventHandler.java:264) [09:28:51] [ERROR] ! at …kubejs.event.EventHandler.post(EventHandler.java:226) [09:28:51] [ERROR] ! at …kubejs.event.EventHandler.post(EventHandler.java:205) [09:28:51] [ERROR] ! at …kubejs.registry.RegistryInfo.fireRegistryEvent(RegistryInfo.java:426) [09:28:51] [ERROR] ! at …kubejs.KubeJS.<init>(KubeJS.java:154) [09:28:51] [ERROR] ! at …kubejs.forge.KubeJSForge.<init>(KubeJSForge.java:51) [09:28:51] [ERROR] ! at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) [09:28:51] [ERROR] ! at java.lang.reflect.Constructor.newInstance(Constructor.java:480) [09:28:51] [ERROR] ! at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:77) [09:28:51] [ERROR] ! at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$5(ModContainer.java:126) [09:28:51] [ERROR] ! at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) [09:28:51] [ERROR] ! at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)

commented

you can define new infinity cell in config in 1.20.1, the kjs integration is for 1.21.1

commented

expatternprovider-common.toml

commented

and what is the name of the configuration that I can't find 😅