Trying to connect TNT blocks to their primed entities

Discussion in 'Plugin Development' started by Ugleh, Nov 20, 2013.

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

    Ugleh

    I cant seam to figure out an event to help me. Player places custom TNT block, TNT goes off, on the PrimedEvent I change the radius.

    However the entity of the primed event can change locations if the TNT was in the air when ignited so I cant go based off location with the PrimedEvent location.
     
  2. Offline

    xTrollxDudex

  3. Offline

    Ugleh

    Does that make any sense? How does that help?
     
  4. Offline

    xTrollxDudex

  5. Offline

    Ugleh

    Soooo not possible?
     
  6. Offline

    Jogy34

    You could cancel the right click event and then spawn your own Primed TNT entity.
     
  7. Offline

    Ugleh

    I don't want the TNT to explode instantly, that's not what I am after.
     
  8. Offline

    chasechocolate

    Ugleh perhaps metadata? I don't think it gets transferred when it gets lit (turns into an entity), though.
     
  9. Offline

    Jogy34

  10. Offline

    Ugleh

  11. Offline

    FinalFred

    I think his point is expanding his earlier suggestion: cancel the right click event and spawn a primed TNT yourself.

    Just because you spawn a primed TNT yourself doesn't mean you have to make it explode instantly.
     
  12. Offline

    Nodero


    He said he wanted the player to prime it themselves and not as soon as they place it. So basically they place it and it doesn't ignite/prime until they make it.
     
  13. Offline

    Ugleh

    Priming doesn't only have to be with flint and steel. Could be with a switch or redstone. I really don't want to utilize a redstone event for this. Its turning my simple idea to something really complicated.
     
Thread Status:
Not open for further replies.

Share This Page