How to change Mob invulnerability duration after get hit?

Discussion in 'Plugin Development' started by Goty_Metal, Jun 11, 2014.

Thread Status:
Not open for further replies.
  1. When a mob takes damage gets red for a moment and you cna't damage it again for some milliseconds, is there anyway to remove or change the duration of that? thanks!
     
  2. Goty_Metal If only there was some sort of documentation that was made for Java stuff. We could call it like Java Documentation - or JavaDocs for short. There could be pages of methods you could use in Java, and APIs such as Bukkit could have their own too! Shame there's no such thing, huh? :)

    Edit: Using a trick I learned (stole) from Garris0n here.
     
    Garris0n and AoH_Ruthless like this.

  3. Erm... i'm not talking about inventories.. i don't understand you :/ i just want to be able to hit a mob several times without invulnerability time...
     
  4. Offline

    fireblast709

    Goty_Metal Click on the emoticon in his post (it's a link)
     
    AdamQpzm likes this.
  5. Oh i see, so if i set an entity to 0 damage ticks every time it gets hit, you can hit it again and again with no delay correct?
     
  6. Goty_Metal Sounds like an excellent theory to test. :)
     
    Goty_Metal likes this.
Thread Status:
Not open for further replies.

Share This Page