Examples of spawnExplosionParticle()


Examples of net.minecraft.entity.EntityCreature.spawnExplosionParticle()

                  {
                    sb.append(" " + args[index]);
                  }
                  mob.setCustomNameTag(sb.toString());
                }
                mob.spawnExplosionParticle();
            }
        }
        else
        {
            OutputHandler.chatError(sender, "Improper syntax.");
View Full Code Here

Examples of net.minecraft.entity.EntityCreature.spawnExplosionParticle()

                if (mob instanceof EntityLiving) {
                  ((EntityLiving)mob).onSpawnWithEgg((IEntityLivingData)null);
                }
                mob.setPosition(x, y, z);
                world.spawnEntityInWorld(mob);
                mob.spawnExplosionParticle();
            }
        }
        else
        {
            OutputHandler.chatError(sender, "Improper syntax.");
View Full Code Here

Examples of net.minecraft.entity.EntityLiving.spawnExplosionParticle()

              func_98265_a(entity);
              getSpawnerWorld().playAuxSFX(2004, getSpawnerX(), getSpawnerY(), getSpawnerZ(), 0);

              if(entityliving != null)
              {
                entityliving.spawnExplosionParticle();
              }

              doTimerReset = true;
            }
          }
View Full Code Here

Examples of net.minecraft.entity.EntityLiving.spawnExplosionParticle()

      }
     
      worldObj.spawnEntityInWorld(spawnedLiving);
      worldObj.playAuxSFX(2004, this.xCoord, this.yCoord, this.zCoord, 0);
     
      spawnedLiving.spawnExplosionParticle();
      setWorkDone(0);
      return true;
    }
  }
 
View Full Code Here

Examples of net.minecraft.entity.EntityLiving.spawnExplosionParticle()

          if(entityliving == null || entityliving.getCanSpawnHere()) {
            logic.func_98265_a(entity);
            logic.getSpawnerWorld().playAuxSFX(2004, logic.getSpawnerX(), logic.getSpawnerY(), logic.getSpawnerZ(), 0);

            if (entityliving != null)
              entityliving.spawnExplosionParticle();

            flag = true;
          }
        }
View Full Code Here

Examples of net.minecraft.entity.EntityLiving.spawnExplosionParticle()

                this.worldObj.spawnEntityInWorld(mob);
                this.worldObj.playAuxSFX(2004, (int) x, (int) y, (int) z, 0);

                if (living != null)
                    living.spawnExplosionParticle();
            }
        }
    }

    private void spawnPotion() {
View Full Code Here

Examples of net.minecraft.entity.monster.EntitySlime.spawnExplosionParticle()

                SS.setLocationAndAngles(x + 0.5D, y + 0.5D, z + 0.5D, rand.nextFloat() * 360.0F, 0.0F);
                SS.motionX = randXmotion;
                SS.motionY = randYmotion;
                SS.motionZ = randZmotion;
                world.spawnEntityInWorld(SS);
                SS.spawnExplosionParticle();
                SS.playSound("mob.newsound.chickenplop", 0.2F, ((rand.nextFloat() - rand.nextFloat()) * 0.7F + 1.0F) * 2.0F);
                world.setBlockMetadataWithNotify(x, y, z, 13 - SS.getSlimeSize(), 3);
            }
        } else {
            world.setBlockMetadataWithNotify(x, y, z, 14, 2);
View Full Code Here

Examples of net.minecraft.entity.passive.EntitySquid.spawnExplosionParticle()

                squid.setLocationAndAngles(x + 0.5D, y + 0.5D, z + 0.5D, rand.nextFloat() * 360.0F, 0.0F);
                squid.motionX = randXmotion;
                squid.motionY = randYmotion;
                squid.motionZ = randZmotion;
                world.spawnEntityInWorld(squid);
                squid.spawnExplosionParticle();
                squid.playSound("mob.newsound.chickenplop", 0.2F, ((rand.nextFloat() - rand.nextFloat()) * 0.7F + 1.0F) * 2.0F);
                world.setBlockMetadataWithNotify(x, y, z, 11, 3);
            }
        } else {
            world.setBlockMetadataWithNotify(x, y, z, 14, 2);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.