Jump to content

Recommended Posts

Posted

I suggest you check enderdragon class out, probably in a onDeath() method or something like that

 

if (this.health <= 0)

        {

            var1 = (this.rand.nextFloat() - 0.5F) * 8.0F;

            var26 = (this.rand.nextFloat() - 0.5F) * 4.0F;

            var3 = (this.rand.nextFloat() - 0.5F) * 8.0F;

            this.worldObj.spawnParticle("largeexplode", this.posX + (double)var1, this.posY + 2.0D + (double)var26, this.posZ + (double)var3, 0.0D, 0.0D, 0.0D);

        }

 

thats what I found in EntityDragon

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.