Posted June 11, 201411 yr Hello MCF forums I would like to know if there is a way to make certain players drop certain item along with what's in there inventory when they die.(i.e. If some one named "Green_Lamb45" had a diamond sword and diamond helmet and I killed them that they would drop a diamond sword, diamond helmet, and green wool). If there is a way can you explain how to do it?
June 11, 201411 yr There are many ways to do this. Probably the best to start with is Forge's Event Structure. Look up a tutorial on it and then look at the LivingEntityDeath event. Long time Bukkit & Forge Programmer Happy to try and help
June 11, 201411 yr Didn't know about that one. That would be easier than what I've done in the past. Long time Bukkit & Forge Programmer Happy to try and help
June 12, 201411 yr I am just going to say that Notch auto-drops an apple when he dies. You should find the code for Notch dropping an extra item and modify it inside your own class. Developer of the WIP Rubies mod.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.