@Override
public void executeFullGrownEffect(World world, int x, int y, int z, Random rand){
if(world.getBlockMetadata(x, y, z) == 14) {
int nearbyEntityCount = world.getEntitiesWithinAABB(EntitySlime.class, AxisAlignedBB.getBoundingBox(x, y, z, x + 1, y + 1, z + 1).expand(SPAWN_RANGE * 2, 4.0D, SPAWN_RANGE * 2)).size();
if(nearbyEntityCount < MAX_NEARBY_ENTITIES) {
EntitySlime SS = new EntitySlime(world);
double randXmotion = rand.nextDouble() - 0.5D;
double randYmotion = 1D;// rand.nextDouble();
double randZmotion = rand.nextDouble() - 0.5D;
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);
world.scheduleBlockUpdate(x, y, z, this, 60);
}