#Loot table not applying to a KubeJS block

14 messages · Page 1 of 1 (latest)

shadow wind
#

I am having some difficulty applying a loot table to a custom block. I tried using .setLootTableJson, but I always get the error cannot find function setLootTableJson. I also tried just making a loot_table json in kubejs:loot_tables/blocks but that doesn''t seem to apply either and I'm not sure why.

balmy voidBOT
#

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

short rock
#

Oddly. The Json functions don't seem to work as described?

You can however; use .lootTableJson = { ... }

shadow wind
short rock
#

Try uncapitilizing the T

#

Or all lowercase

#

If that still doesn't work. Just add the loottable json to the correct location in the assets folder.

shadow wind
short rock
#

Then your only option is to create a json file in the assets folder (To my knowledge)

pallid bridge
#

you can use LootJS too

shadow wind
#

I think it must be a kube thing?

west pebble
shadow wind