Started by
DR2you
on
Topic category: Help with Minecraft modding (Java Edition)
I don't know how to make it so if the selected player dies it will trigger a code. can anyone help me?
Topic category: Help with Minecraft modding (Java Edition)
I don't know how to make it so if the selected player dies it will trigger a code. can anyone help me?
Use on entity killed global procedure trigger and check if the entity that died was player.
Check this Tweet for a similar example: https://twitter.com/PyloDEV/status/1050470892705390594/photo/1
I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei
Thank you! I was having trouble with this.
You are welcome!
is there no EntityPlayer (sub)type in 1.12.2?
Would be better if there is "if entity dies" for procedures which have other global events / other element procedure trigger (update tick)