Malorolam / LootBags

Other
21 stars 31 forks source link

Help blacklisting a mob #168

Closed icbat closed 5 years ago

icbat commented 5 years ago

Hi! I see in #150 that there's a way to blacklist mobs. I can't seem to get my configuration right, as the mobs keep dropping. What am I getting wrong?

image

Given this (What Is That output), I assumed that either the $VISIBLENAME would be Blue Slime, or the $INTERNALNAME would be tconstruct.blueslime or simply blueslime.

So if I try this on, say, the common bag, it looks like this:

$STARTBAG:lootbag_Common:0
    $ISSECRET:false
    $BAGTEXTCOLOR:$WHITE
    $BAGTEXTUNOPENED:$AQUA:Ooh, what could be inside?
    $BAGTEXTOPENED:What's inside is not as interesting as not knowing.
    $BAGTEXTSHIFT:$DROPCHANCES
    $BAGVALUE:1:1
    $PASSIVESPAWNWEIGHT:50
    $PLAYERSPAWNWEIGHT:100
    $MOBSPAWNWEIGHT:100
    $BOSSSPAWNWEIGHT:200
    $USEGENERALLOOTSOURCES:true
    $MAXIMUMITEMS:5
    $MINIMUMITEMS:1
    $MAXIMUMGENERALLOOTWEIGHT:-1
    $MINIMUMGENERALLOOTWEIGHT:-1
    $PREVENTITEMREPEATS:none
    $EXCLUDEENTITIES:false
    $STARTENTITYLIST
        $INTERNALNAME: tconstruct.blueslime
    $ENDENTITYLIST
    $STARTBLACKLIST
        lootbags:itemlootbag:0
    $ENDBLACKLIST
$ENDBAG:lootbag_Common

Is there anything I'm doing wrong? These little slimes spawn way too often to be dropping loot =)

Thanks for your help!

icbat commented 5 years ago

Aha, it seems I cannot put a space between $INTERNALNAME: and the actual name. =)