Posted February 8, 201610 yr How can I spawn a Primed TNT over Players head? I know that I have to do something like that: EntityTNTPrimed tnt = new EntityTNTPrimed(w); tnt.fuse = 0; w.spawnEntityInWorld(tnt); But with this the TNT will spawning anywhere
February 8, 201610 yr Author I found it but the tnt makes only a half heart damage can I change it so that the player dies instantly
February 8, 201610 yr I guess you will need to use events for that. I know that there was an event that gets fired when an entity gets damaged, but it seems like its not EntityHurtEvent
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.