#Custom Items (Break the Loading on a modpack)

28 messages · Page 1 of 1 (latest)

cedar lance
remote pondBOT
#

Paste version of custom_item.js, crash-2024-07-26_14.54.18-client.txt from @cedar lance

river prismBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

tired ore
#

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

modern dome
#
StartupEvents.registry("item", (event) => {
  event.create("test_smithing_template", "smithing_template");
});
cedar lance
#

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")
  })
tired ore
#

im still pretty sure this is not a kubejs issue

modern dome
#
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

tired ore
#

you dont just get method not found for Gson library methods

hoary hatch
#

i think neo changed something about classloading

#

i wonder if they locked rhino out of loading libraries

tired ore
#

nah thats internal KJS crash

#

when it generates assets

hoary hatch
#

ah

cedar lance
#

i can try to disable much of the other mods

remote pondBOT
#

Paste version of crash-2024-07-26_15.52.27-client.txt from @cedar lance

modern dome
tired ore
#

it either has outdated or missing gson

tired ore
#

Apparently this is a bug with either NeoForge installer or mod development environment

#

KJS update will patch it but its not really KJS fault