Spawning a Stationary Wither Skull

Discussion in 'Plugin Development' started by Slayergold3, Jul 19, 2014.

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

    Slayergold3

    Hello,
    For a plugin I am making I would like to have entities riding stationary wither skulls. The problem is that every time I spawn one they immediately explode. I've tried searching everywhere but to no avail.
    If anyone knows how to do this it would be a great help!

    Thank you
    - Slayergold3
     
  2. Offline

    izarooni

    Slayergold3
    Is it because the skull is spawned at an entity location thus touching the entity and exploding because of impact?
    IF so, you should probably cancel an event but i'm not sure which one.
     
  3. Offline

    Regablith

    Cancel entity explode event if it's a wither head?
     
  4. Offline

    JBoss925

    I'd advise against this because it would be called very quickly for the entire time the server is up. I'm assuming there's some NMS or Explosive Entity class. I'll look around in a bit.
     
  5. Offline

    Stealth2800

    Adding on to what JBoss925 said, perhaps you can make a custom entity with this as a base.
     
  6. Offline

    xize

    or you could just spawn the WitherSkull and then the other entity and set the nodamageticks to a high number.

    for me that worked greatly but kinda buggy :)
     
  7. Offline

    Rocoty

    If this is just for aesthetic purposes, how about just sending the packets to clients, thus leaving the server unknowing of the entities, resulting in no explosions being triggered?
     
  8. Offline

    ChipDev

    Same problem :(
    bump
     
Thread Status:
Not open for further replies.

Share This Page