LootBags

LootBags

31M Downloads

Help blacklisting a mob

icbat opened this issue ยท 1 comments

commented

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!

commented

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