package com.Looke81.BioWarfare.entity; import net.minecraft.client.particle.EntityFX; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.projectile.EntityThrowable; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.MovingObjectPosition; import net.minecraft.world.World; public class EntityGrenadeEffect extends EntityMob { public EntityGrenadeEffect(World p_i1738_1_) { super(p_i1738_1_); // TODO Auto-generated constructor stub } public void onUpdate() { this.worldObj.spawnParticle("snowshovel", this.posX, this.posY, this.posZ, 0.0F, 0.0F, 0.0F); this.worldObj.spawnParticle("snowshovel", this.posX + 1, this.posY, this.posZ, 0.0F, 0.0F, 0.0F); this.worldObj.spawnParticle("snowshovel", this.posX, this.posY + 1, this.posZ, 0.0F, 0.0F, 0.0F); this.worldObj.spawnParticle("snowshovel", this.posX, this.posY, this.posZ + 1, 0.0F, 0.0F, 0.0F); this.worldObj.spawnParticle("snowshovel", this.posX + 1, this.posY + 1, this.posZ, 0.0F, 0.0F, 0.0F); this.worldObj.spawnParticle("snowshovel", this.posX, this.posY + 1, this.posZ + 1, 0.0F, 0.0F, 0.0F); this.worldObj.spawnParticle("snowshovel", this.posX + 1, this.posY + 1, this.posZ, 0.0F, 0.0F, 0.0F); this.worldObj.spawnParticle("snowshovel", this.posX + 1, this.posY + 1, this.posZ + 1, 0.0F, 0.0F, 0.0F); if (this.ticksExisted == 100) { this.setDead(); } } }