
Is it possible to select for modded projectiles as a damage source?
Opened this issue ยท 10 comments
Betteranimalsplus 1.12.2 has a Tarantula mob. This mob can spit "hairs" projectiles without warning that do too much damage, and I'd like to disable these hairs.
betteranimalsplus:tarantulahair is the "entity" that comes up, but I've tried:
S:"Cancel Damage Sources" <
minecraft:player;;betteranimalsplus:tarantulahair
minecraft:player;;tarantulahair
>
And it doesn't work. Any ideas?
Have you checked the logs? Is something fails to log it will let you know there. Whats the double ;; about?
Could you show me the log either way? It might just be the double ;; thats the issue. Optional values can be omitted entirely, not just left empty
https://www.dropbox.com/s/oio61nk04ih04ss/rotm.cfg?dl=1
Here's my config file
Yes, I'm aware. Those lines still function correctly in-game. The only part not functioning correctly is the sounds, which the log is pointing out.
And they have nothing to do with the problem I'm asking about.
Have you used the debug item that tells you the name of the damage source? Are you sure the damage source is called "tarantulahair"? It doesn't check for the entity that dealt the damage but the name of the damage source.
From what I can tell from looking at the mods source code it uses the "thrown" damage source
I was going to say that the debug stick isn't working for this projectile. I'll try thrown
and see if that work.