Mob Tick Event

Started by kevin timotius on Wed, 01/13/2016 - 12:03
Last seen on 13:48, 3. Sep 2017
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Mob Tick Event
Wed, 01/13/2016 - 12:03

Code for mob tick event? (give entity tick event)

Last seen on 00:22, 16. Aug 2018
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
public void updateMobEvent
Wed, 01/13/2016 - 13:23

public void updateMobEvent(LivingUpdateEvent)
   {
      if(event.entityLiving instanceof NAMEOFENTITY)
           {

//DO SOMETHING
      }
    
}

Last seen on 13:48, 3. Sep 2017
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
i put it in custom code or
Sat, 01/23/2016 - 03:41

i put it in custom code or source code?