How to manually prime (set off/ignite) TNT?

Discussion in 'Plugin Development' started by Connor Mahaffey, Jul 2, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Connor Mahaffey

    In my plugin Mean Admins, I originally made a command /ma <player> tnt which would change the next block a user punches into tnt, thus setting it off. But because tnt can no longer be lit by a punch, the command is now useless.

    I've been looking for a way to light tnt through code, but there doesn't seem to be one. I could create an explosion on the spot, but the damage done seems to vary and the play takes very little damage.

    Any help?
     
  2. Offline

    Chrisward

    Put a redefine torch next to it or place it above fire
     
  3. Offline

    Taco

    Spawn a primed TNT entity at the location of the block they punch.
     
Thread Status:
Not open for further replies.

Share This Page