Package org.bukkit.entity

Examples of org.bukkit.entity.Creeper


        if (toSpawn == EntityType.PIG_ZOMBIE){
          PigZombie pigzombie = (PigZombie) entity1;
          pigzombie.setAngry(true);
        }
      } else if (type.equalsIgnoreCase("charged")){
        Creeper creep = (Creeper) entity1;
        creep.setPowered(true);
      } else if (toSpawn == EntityType.ENDERMAN && ClosestMatches.material(type).size() > 0){
        Enderman enderman = (Enderman) entity1;
        enderman.setCarriedMaterial(new MaterialData(ClosestMatches.material(type).get(0)));
      } else if (toSpawn == EntityType.VILLAGER && ClosestMatches.villagerProfessions(type).size() > 0){
        Villager villager = (Villager) entity1;
View Full Code Here


             if (toSpawn == EntityType.PIG_ZOMBIE){
               PigZombie pigzombie = (PigZombie) entity1;
               pigzombie.setAngry(true);
             }
          } else if (type.equalsIgnoreCase("charged")){
            Creeper creep = (Creeper) entity1;
            creep.setPowered(true);
          } else if (type.equalsIgnoreCase("saddle")){
            Pig pig = (Pig) entity1;
            pig.setSaddle(true);
          } else if (toSpawn == EntityType.ENDERMAN && ClosestMatches.material(type).size() > 0){
            Enderman enderman = (Enderman) entity1;
View Full Code Here

          Wolf wolf = (Wolf) entity;
          wolf.setAngry(true);
        }
       
        if (type.equalsIgnoreCase("charged")){
          Creeper creep = (Creeper) entity;
          creep.setPowered(true);
        }
       
        if (type.startsWith("ocelottype:")){
          type = type.replaceFirst("ocelottype:", "");
          Ocelot oce = (Ocelot) entity;
View Full Code Here

TOP

Related Classes of org.bukkit.entity.Creeper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.