Solved Zombie, Giant, Mini...?! How to spawn a mini/baby zombie

Discussion in 'Plugin Development' started by QuecksilberHD, Jul 29, 2014.

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

    QuecksilberHD

  2. Offline

    JWhy

    Code:java
    1. Location loc = player.getLocation();
    2. Zombie zmb = (Zombie) loc.getWorld().spawnEntity(loc, EntityType.ZOMBIE);
    3. zmb.setBaby(true);

    totally works for me
     
    GlacialCreeper likes this.
  3. Offline

    Maved

    QuecksilberHD Yeah zombie.setBaby(true); works.
    i have used it recently.
     
  4. Offline

    GlacialCreeper

    I think we can all agree that you can use his code and setBaby() works.
     
Thread Status:
Not open for further replies.

Share This Page