#Trying to use method from mod class results in error

10 messages · Page 1 of 1 (latest)

native wraith
velvet hemlockBOT
#

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

austere mesaBOT
#

Paste version of message.txt from @native wraith

native wraith
#

bump

native wraith
#

bump 2

#

I really need to get this to work. is there some other data structure I need to pass in as a second argument

native wraith
#

last bump

native wraith
#

So passing in java.util.List like so

const $List = Java.loadClass("java.util.List")
$ItemFiltersAPI.getDisplayItemStacks(Item.of('kubejs:inventory_puller_tier_1', '{filter:{item:"itemfilters:or",nbt:{items:[{Count:1b,id:"itemfilters:tag",tag:{value:"forge:glass"}},{Count:1b,id:"itemfilters:not",tag:{items:[{Count:1b,id:"minecraft:glass"}]}}]},type:"itemfilters"}}'), $List.of())

then gives this different error (file)
it says that it is an imutatable collection even though it should be what was passed in. What is wrong here?

austere mesaBOT
#

Paste version of message.txt from @native wraith

native wraith
#

is it some rhino shit?