Cast EntityZombie into Zombie (Bukkit)

Discussion in 'Plugin Development' started by cdnyassuo34, Mar 23, 2020.

  1. Offline

    cdnyassuo34

    Hi, is there a way to cast an EntityZombie (from mc method) to a Zombie (bukkit method)
    if there is I'd be happy to learn it ^^
    thanks for reading :D
     
  2. Offline

    timtower Moderator Moderator

    @cdnyassuo34 How did you get the EntityZombie?
    Because you can't cast to that way as far as I know.
     
  3. Offline

    cdnyassuo34

    Spawned it with EntityZombie method for some reason

    Edit: as*
     
    Last edited: Mar 23, 2020
  4. Offline

    timtower Moderator Moderator

  5. Offline

    cdnyassuo34

    EntitySkeleton angel = new EntitySkeleton(EntityTypes.SKELETON, world);
    <some attributes...>
     

Share This Page