#LootJS hasAnyStage not working?

5 messages · Page 1 of 1 (latest)

lusty stream
#

Not sure if I'm doing this correctly. I want to add a certain item to the fishing loot pool when the player has a specific stage.

Here's my code:

event.addLootTableModifier("minecraft:gameplay/fishing")
        .hasAnyStage("fishies")
        .randomChance(1.0)
        .removeLoot(Ingredient.all)
        .addLoot('minecraft:diamond')
``` But even though I have the stage, it's not working.

On that note, can I have it check if the player has any of a list of stages?
quaint gladeBOT
#

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

lusty stream
#

This is actually not working for any lootjs script with any stage. help?

#

aaand i just probeJS'd it and found I need it to be in an array. i'm so dumb please don't perceive me