Clay Soldiers Mod

Clay Soldiers Mod

1M Downloads

Issue with lootbags

deadspidervenom opened this issue ยท 11 comments

commented

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

commented

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.

commented

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

commented

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

commented

update: nothing has worked, they are still dropping

commented

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

commented

I suspect the config is formatted like

S:blacklist<
     ....
>

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

commented

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.

commented
$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
commented

Did not work

commented
$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

commented

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.