#Custom Items (Break the Loading on a modpack)
28 messages · Page 1 of 1 (latest)
Paste version of custom_item.js, crash-2024-07-26_14.54.18-client.txt from @cedar lance
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
java.lang.NoSuchMethodError: 'boolean com.google.gson.JsonObject.isEmpty()'
wtf
thats not possible
how is rest of minecraft working without this script?

I think you just have a corrupt mc install or smth

StartupEvents.registry("item", (event) => {
event.create("test_smithing_template", "smithing_template");
});
so i downgrade to 2100.7.0-build.102 and the normal code work witch is
// priority: 10
StartupEvents.registry('item', e => {
e.create('rd:paxel_upgrade_smithing_template','smithing_template').appliesTod.tooltip('§7This is use to upgrade the Paxels').texture('rd:item/paxel_upgrade_smithing_template').rarity('epic').displayName("Paxel Template")
})
im still pretty sure this is not a kubejs issue
Mods:
[✔] cloth-config-15.0.128-neoforge
[✔] curios-neoforge-9.0.5+1.21
[✔] emi-1.1.10+1.21+neoforge
[✔] Jade-1.21-NeoForge-15.1.4
[✔] jei-1.21-neoforge-19.5.2.65
[✔] kubejs-neoforge-2100.7.0-build.113
[✔] ProbeJS-7.2.1
[✔] rhino-2100.2.5-build.44
Mostly normal operation
you dont just get method not found for Gson library methods
i think neo changed something about classloading
i wonder if they locked rhino out of loading libraries
ah
i can try to disable much of the other mods
New Crash Log same Problem with only Kubejs on it
Paste version of crash-2024-07-26_15.52.27-client.txt from @cedar lance
I don’t think this has anything to do with neo. I just updated neo to the latest version.
^
it either has outdated or missing gson