#Replace all instances of an item in loot

14 messages · Page 1 of 1 (latest)

hollow falcon
#

I want to replace Aether candy canes with Create: Confectionery candy canes in all chests, mob drops, etc. I have seen an action in the LootJS wiki that allows you to replace one type of loot with another, but it requires a filter, which is something I don't really understand. What filter would I use to, for example, specify chest loot? I have some sample code attached that is based on what I found on the wiki.

tender martenBOT
#

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

small nexusBOT
#

Paste version of lootjs-replace-sample.js from @sonic oxide

fluid holly
#

thats for the drop loot

#

also LootJS is a third party addon

hollow falcon
#

Oh ok, do you know what I would use for chest loot?

fluid holly
#

not familiar with lootJS, sorry

#

all I know is thats for the drop loot because otherwise it wouldnt use gravel

hollow falcon
#

Oh ok, thanks anyways

hybrid pond
hollow falcon
small nexusBOT
#

Paste version of lootjs-replace-sample.js from @sonic oxide

hollow falcon
#

I think it works, but I'm not 100% sure