Started by
KaMiLoz_
on
Topic category: Help with Minecraft modding (Java Edition)
how to make my custom entity, for example, affect other entities EXCEPT the entity/player that spawned this entity (if you spawn it through the entity spawn procedure). for example, I made a mob a circular saw, and in fact it should in the radius of 2 blocks to cause damage to other entities, except for me, if I spawned it through some kind of key. Tell me how to make it so that the mob affects others, except for its summoner
You could store entity that spawned it as UUID or ID in synced data and use this data in e.g. AI conditions