Solved Primed TNT animation lasting longer

Discussion in 'Plugin Development' started by Atoxz58, Jun 1, 2015.

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

    Atoxz58

    I am wondering if there's any way to make the TNT animation last longer I know the actual animation is client side and when you set the fuse it just delays the explosion not the animation.

    Does anyone have any ideas about how to do that?anything helps.
     
  2. You could spawn a new tnt just before the old tnt explodes
     
  3. Offline

    Timbals

    cast the entity to a TNTPrimed and use TNTPrimed#setFuseTicks
    you set it to an int which is in ticks (1 second = 20 ticks)
     
  4. Offline

    NathanWolf

    The OP has stated they tried this- it doesn't affect the client-side animation (unfortunately)
     
  5. Offline

    Atoxz58

    the problem with that is player will be interacting with it and if I spawn a new one won't it move it?
     
Thread Status:
Not open for further replies.

Share This Page