Checking if EntityType instanceof Ageable

Discussion in 'Plugin Development' started by Bammerbom, Jun 18, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Bammerbom

    I was trying to check if an EntityType was ageable, but it seems like I only can use Entity instanceof Ageable, and not EntityType instanceof Ageable.

    How can I check if an EntityType is ageable?
     
  2. Offline

    AoH_Ruthless

    Bammerbom
    Check if the entity is an instance of ageable, then define it's type. Isn't very complicated.

    Edit: Don't bump more than once every 24 hours
     
Thread Status:
Not open for further replies.

Share This Page