Started by
JustHaven
on
Topic category: Help with Minecraft modding (Java Edition)
I just simply want to do a statement like:
if [Event/target entity] killed by type: (insert mob here)
do (insert code here)
Is there a way to achieve this?
Make some custom entity tags for each entity you need, and make a procedure with the 'entity dies' global trigger. Then run the procedure.
Or you can try using "is (sub) type of" procedure with source entity.
any way to make this detect if it was a player that killed another player?