Please new event for mob (on kill entity)

Submitted by Hakann on Fri, 03/09/2018 - 09:49
Issue description

Please new event for mob (on kill entity)

This event is present in mcreator 1.7.3 (as a bug of "when mob attacks"event).

I want this event to be added to mcreator 1.7.9 This is an important event!

code:

        public void onKillEntity(EntityLivingBase entityLivingBase) {
            super.onKillEntity(entityLivingBase);
            int i = (int) this.posX;
            int j = (int) this.posY;
            int k = (int) this.posZ;
            Entity entity = this;

        }

P.s. Do not confuse the "on kill entity" event with the "when mob attacks" event

Issue comments

Submitted by Klemen on Fri, 03/09/2018 - 15:39

This will be implemented in next update, alongside with the bug you reported with swapped mob events.

Submitted by Klemen on Fri, 03/09/2018 - 20:04

These new mob events will be added: 

when this mob kills another one, mob tick update, when player collides this mob