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.
#Replace all instances of an item in loot
14 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Paste version of lootjs-replace-sample.js from @sonic oxide
Oh ok, do you know what I would use for chest loot?
not familiar with lootJS, sorry
all I know is thats for the drop loot because otherwise it wouldnt use gravel
Oh ok, thanks anyways
addLootTableModifier or addLootTypeModifier
Would something like this work?
I think it works, but I'm not 100% sure