Killing Custom Entity (NMS)

  • Thread starter Thread starter fspgt
  • Start date Start date

fspgt

Guest
Member
Hi guys,

I have a custom entity that, when killed, turns invisible instead of actually dying. EntityDeathEvent gets called though. I can still teleport to it, it as well doesn't seem to move.

What could be the issue? How do I completely kill/remove a custom entity?

Any help is much appreciated. Thanks!

EDIT: Also: if I try to manually kill it using CraftEntity#remove, the entity gets put in the same "state" as when it gets killed. It turns invisible and freezes.

Continue reading...
 
Top