#How to add a new loot table with KJS

19 messages · Page 1 of 1 (latest)

lethal plover
#

I'd like to add a new loot table so I can summon some entity or create a chest with the new one, instead of change the loot table. How can I do that with KubeJS? Or is it easier with FTBQuest?

supple whaleBOT
#

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

solid socket
#

ftbquests doesnt do loot table creation

ruby jacinthBOT
#

You can add stuff and override loot tables with KubeJS, and the wiki has a page on that!

solid socket
#

add generic

lethal plover
#

no, what I want is create a new loot table instead of edit the old one

solid socket
#

then use add instead of modify

#

read wiki

lethal plover
#

OK

#

Is it possible to create loot table that chest use? What the wiki said seems like it can only add loot table to entity and block.

#

uh

#

my bad

solid socket
#

the type doesnt actually matter

#

its just convention

#

to place a chest with your loot table use /setblock ~ ~-1 ~ chest{LootTable:"modid:chest/path"}

lethal plover
#

and I can name the new loot table with kjs right?

solid socket
#

yes

lethal plover
#

Though is hard for me to communicate with English, but you do teach me a lot. TY.

#

😄