Package net.minecraft.entity.monster

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

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.