Started by
TrilliByte
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making an advancement for when a player kills the wither it gives you the advancement but I don't know how to do that.
I'm new to modding so I don't know much about anything.
Make a procedure that triggers when an entity is killed. (There should be an 'entity dies' trigger in the top block.) Then, use an if-block, and check if the source entity is a player, and the target entity is a wither. Inside the If block, add a block to give the source entity your custom advancement.
How would I do this if the target player killed another player?