[API] NPCLib 2.5.1-SNAPSHOT

API to spawn NPCs

  1. Minor API changes | Fixes

    inventivetalent
    • NPC-Events are now called always, but may be cancelled by default
      • (even if e.g. the NPC is invulnerable, frozen or has no collision)
    • Fixed collision among NPCs
  2. Fix

    inventivetalent
    • fixed StackOverflowError for Villager NPCs (in version 1.8 R1)
  3. Fixes

    inventivetalent
    • fixed StackOverflowError for Villager NPCs
    • fixed MotionEvent values
    • fixed entity motion
      • NPCs can no longer be pushed if they're frozen
  4. Villager fix

    inventivetalent
    • fixed villager NPC (version 1_8_R1)
  5. Lag fixes

    inventivetalent
    • fixed lag issues when spawning player NPCs
      • (does not apply when not using NickNamer)
    HydroTekZ likes this.
  6. Villagers

    inventivetalent
    • added Villager NPCs
    HyperPlay likes this.
  7. Damager for NPCDamageEvent

    inventivetalent
  8. DespawnEvent | Fix

    inventivetalent
    • added NPCDespawnEvent
    • fixed NullpointerException when getting NPCs from a world
  9. Skin layers

    inventivetalent
  10. Event fix + update

    inventivetalent
    • fixed NPCCollideEvent
      • renamed to NPCMotionEvent
    • added proper NPCCollideEvent
    • It is recommended to update your plugins to the new classes and methods!
    • If any of your plugins don't work after updating to this version, use version 1.5.4