SanAndreaP / ClaySoldiersMod

46 stars 34 forks source link

Issue with lootbags #257

Open deadspidervenom opened 5 years ago

deadspidervenom commented 5 years ago

Not really a bug, i just wanted to know what the entity names for the clay soldiers are. They keep dropping loot bags and i was wanting to blacklist them. However i do not know how to get the entity names for all of them. and i can't find them anywhere.

Latest version for everything 1.12.2

SanAndreaP commented 5 years ago

https://github.com/SanAndreasP/ClaySoldiersMod/blob/master/src/main/java/de/sanandrew/mods/claysoldiers/entity/EntityRegistry.java#L38-L59

for example new ResourceLocation(CsmConstants.ID, "claySoldier") is claysoldiers:claySoldier ingame.

I dunno if capitalization is important, so if it won't work, try all lower case.

deadspidervenom commented 5 years ago

Thanks!! (big fan of the mod sense it released way back when!) Testing it right now, once mc loads up.

deadspidervenom commented 5 years ago

update: nothing has worked, they are still dropping

deadspidervenom commented 5 years ago

trying something i thought would not change anything. Will update if it works

deadspidervenom commented 5 years ago

That did not work what i have tried

claysoldiers:claysoldier claysoldiers:gravelprojectile claysoldiers:snowprojectile claysoldiers:fireprojectile claysoldiers:emeraldprojectile claysoldiers:mounthorse claysoldiers:mountpegasus claysoldiers:mountturtle claysoldiers:mountbunny claysoldiers:mountgecko

===========================

claysoldiers:claysoldier:* claysoldiers:gravelprojectile:* claysoldiers:snowprojectile:* claysoldiers:fireprojectile:* claysoldiers:emeraldprojectile:* claysoldiers:mounthorse:* claysoldiers:mountpegasus:* claysoldiers:mountturtle:* claysoldiers:mountbunny:* claysoldiers:mountgecko:* i also tried claysoldiersmod:claysoldier

SanAndreaP commented 5 years ago

I suspect the config is formatted like

S:blacklist<
     ....
>

Make sure you separate the entries by a newline, not by a space.

deadspidervenom commented 5 years ago

Sorry guess i should of fixed the formatting, that is not how its formatted in the config, for some reason github removed the formatting when i commented it.

deadspidervenom commented 5 years ago
$EXCLUDEENTITIES:false
$STARTBLACKLIST
    lootbags:itemlootbag:0
    claysoldiers:claysoldier:*
    claysoldiers:gravelprojectile:*
    claysoldiers:snowprojectile:*
    claysoldiers:fireprojectile:*
    claysoldiers:emeraldprojectile:*
    claysoldiers:mounthorse:*
    claysoldiers:mountpegasus:*
    claysoldiers:mountturtle:*
    claysoldiers:mountbunny:*
    claysoldiers:mountgecko:*
$ENDBLACKLIST
SanAndreaP commented 5 years ago
$EXCLUDEENTITIES:false
$STARTENTITYLIST
    INTERNALNAME:claysoldiers:claysoldier
    INTERNALNAME:claysoldiers:mounthorse
    INTERNALNAME:claysoldiers:mountpegasus
    INTERNALNAME:claysoldiers:mountturtle
    INTERNALNAME:claysoldiers:mountbunny
    INTERNALNAME:claysoldiers:mountgecko
$ENDENTITYLIST

You probably won't need to exclude the projectiles, as they're non-living entities

deadspidervenom commented 5 years ago

Did not work

deadspidervenom commented 5 years ago

i cant seem to get it to work no matter what i try.

I know mods ingame are see the clay soldiers as claysoldiers:claysoldier:name or something like that.

For now im just gonna remove clay soldiers.