#lootJS bug ?

16 messages · Page 1 of 1 (latest)

swift nova
#

why is not work for some mobs spider work and cave_spider don't

    event
        .addEntityLootModifier("minecraft:spider")
        //.randomChance(0.005)
        .randomChance(1.0)
        .addLoot(LootEntry.of("mysticalagriculture:spider_essence"))
});
LootJS.modifiers((event) => {
    event
        .addEntityLootModifier("minecraft:cave_spider")
        //.randomChance(0.005)
        .randomChance(1.0)
        .addLoot(LootEntry.of("mysticalagriculture:spider_essence"))
});```
lavish heartBOT
#

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

swift nova
patent isleBOT
#

Paste version of ModsDrop.js from @swift nova

swift nova
#

mmmm okay I reload 2 times and it's work ....

swift nova
#

not work again

finite adder
#

okay. FIRST OFF, you don't need two thousand event handlers for each action

#

not trying to be mean at all, but i cannot stress this enough, your code really needs some makeup, especially to find said errors

#

can you send your logs please?

#

also please don't add the mod bug tag until confirmed

swift nova
#

okay sorry I'am newbi

#

and have no error
[01:17:06] [INFO ] Loaded script server_scripts:ModsDrop.js in 0.001 s

finite adder
#

send your logs

#

if you don't send your logs, we can't help you

#

if you send a snippet and think that's final, it probably isnt

swift nova